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++ Patch] Add __GXX_EXPERIMENTAL_CXX1Y__


Hi,

On 04/24/2013 06:55 PM, Jason Merrill wrote:
On 04/24/2013 12:48 PM, Gabriel Dos Reis wrote:
On Wed, Apr 24, 2013 at 11:26 AM, Jason Merrill <jason@redhat.com> wrote:
I would really rather avoid introducing another macro to be removed again
later.  Instead, let's use a value of __cplusplus greater than 201103L,
perhaps 201300?

yes, that makes sense, and even a better path forward.
Hopefully, the next committee draft will have that value.

We won't have a value for the next standard until we have a next standard, so let's just invent a value for now; presumably people will know better than to check for that invented value specifically.
This "invention" scared me, that's why I didn't even propose it. Anyway, for the time being I'm going to simply revert what I committed earlier today. It would be great if somebody can implement the __cplusplus change as soon as possible.

Thanks!
Paolo.


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