Improved GCC test by adding "__GNUC__ >= 5"

pull/35/head
Jeffrey Walton 2015-07-27 01:32:10 -04:00
parent f8fc7562f1
commit 66ff5e14f1
1 changed files with 2 additions and 2 deletions

View File

@ -508,7 +508,7 @@ NAMESPACE_END
# endif # endif
#elif (__INTEL_COMPILER >= 1110) #elif (__INTEL_COMPILER >= 1110)
# define CRYPTOPP_CXX11_RVALUES 1 # define CRYPTOPP_CXX11_RVALUES 1
#elif (__GNUC__ == 4 && __GNUC_MINOR__ >= 3) && !defined(__INTEL_COMPILER || __clang__) #elif (__GNUC__ >= 5 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3)) && !defined(__INTEL_COMPILER || __clang__)
# define CRYPTOPP_CXX11_RVALUES 1 # define CRYPTOPP_CXX11_RVALUES 1
#endif // R-value compilers #endif // R-value compilers
@ -521,7 +521,7 @@ NAMESPACE_END
# endif # endif
#elif (__INTEL_COMPILER >= 1400) #elif (__INTEL_COMPILER >= 1400)
# define CRYPTOPP_CXX11_RVALUES 1 # define CRYPTOPP_CXX11_RVALUES 1
#elif (__GNUC__ == 4 && __GNUC_MINOR__ >= 6) && !defined(__INTEL_COMPILER || __clang__) #elif (__GNUC__ >= 5 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6)) && !defined(__INTEL_COMPILER || __clang__)
# define CRYPTOPP_CXX11_NOEXCEPT 1 # define CRYPTOPP_CXX11_NOEXCEPT 1
# error # error
#endif // noexcept compilers #endif // noexcept compilers