aboutsummaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
authorVictor Zverovich <viz@fb.com>2020-03-07 14:50:52 -0800
committerVictor Zverovich <viz@fb.com>2020-03-07 14:50:52 -0800
commitb1adaa9881a15f9777e4bc725b477eef26bedbf6 (patch)
treeb7592c4d2828afae9a3c03ccb54c34fce21d9ae8 /support
parent48e8d0ebef61c951568a65f9198be814aeadcdbb (diff)
downloadfmtlib-b1adaa9881a15f9777e4bc725b477eef26bedbf6.tar.gz
Remove gcc 4.4 workaround
Diffstat (limited to 'support')
-rw-r--r--support/cmake/cxx14.cmake11
1 files changed, 0 insertions, 11 deletions
diff --git a/support/cmake/cxx14.cmake b/support/cmake/cxx14.cmake
index 032fcb27..16ff5754 100644
--- a/support/cmake/cxx14.cmake
+++ b/support/cmake/cxx14.cmake
@@ -48,17 +48,6 @@ endif ()
set(CMAKE_REQUIRED_FLAGS ${CXX_STANDARD_FLAG})
-# Check if variadic templates are working and not affected by GCC bug 39653:
-# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39653
-# Can be removed once gcc 4.4 support is dropped.
-check_cxx_source_compiles("
- template <class T, class ...Types>
- struct S { typedef typename S<Types...>::type type; };
- int main() {}" SUPPORTS_VARIADIC_TEMPLATES)
-if (NOT SUPPORTS_VARIADIC_TEMPLATES)
- set (SUPPORTS_VARIADIC_TEMPLATES OFF)
-endif ()
-
# Check if user-defined literals are available
check_cxx_source_compiles("
void operator\"\" _udl(long double);