This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++11, C++14 PATCH 4/4] Support for SD-6: SG10 Feature Test Recommendations: gcc/testsuite
- From: Jason Merrill <jason at redhat dot com>
- To: Ed Smith-Rowland <3dw4rd at verizon dot net>, gcc-patches <gcc-patches at gcc dot gnu dot org>, "libstdc++ at gcc dot gnu dot org" <libstdc++ at gcc dot gnu dot org>, Marc Glisse <marc dot glisse at inria dot fr>, Jonathan Wakely <jwakely dot gcc at gmail dot com>, Andrew Pinski <pinskia at gmail dot com>
- Date: Mon, 09 Jun 2014 10:40:26 -0400
- Subject: Re: [C++11, C++14 PATCH 4/4] Support for SD-6: SG10 Feature Test Recommendations: gcc/testsuite
- Authentication-results: sourceware.org; auth=none
- References: <5395C2D1 dot 2080809 at verizon dot net>
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