This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [C++11, C++14 PATCH 4/4] Support for SD-6: SG10 Feature Test Recommendations: gcc/testsuite


On 06/09/2014 10:21 AM, Ed Smith-Rowland wrote:
+//  TODO: Change <= to < when C++14 constexpr goes in.
+#ifdef __cpp_constexpr
+#  if __cpp_constexpr <= 201304
+#    error "__cpp_constexpr"
+#  endif
+#endif

How is this passing currently? 200704 <= 201304, so I would expect this to error.

+#ifndef __cpp_unicode_characters
+#  error "__cpp_unicode_characters"
+#endif

Don't we want to test for the correct value of all these macros?

Jason


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]