Re: Remove the __GXX_EXPERIMENTAL_CXX0X__?

2013-07-05 Thread Benjamin De Kosnik

 Deprecate it for 4.9.x.
 Remove it later.  We don't need to keep around
 this macro which has been obsolete for at least
 two releases.

Agreed. Definitely deprecated for 4.9.

The internal style is to now check __cplusplus and in the future
whatever feature testing macros are developed.

-benjamin


Re: Remove the __GXX_EXPERIMENTAL_CXX0X__?

2013-07-03 Thread Marc Glisse

On Wed, 3 Jul 2013, Ed Smith-Rowland wrote:

While thinking about C++ n3694 feature test macros I noticed we still define 
__GXX_EXPERIMENTAL_CXX0X__ macro in c-family/c-cppbuiltin.c.

We got rid of all uses of it in libstdc++.
I propose we get rid of it here too.
User's shouldn't be relying on it.  No?

OTOH, it may have been a proxy for __cplusplus for users for a good while. 
People may still be using it even if the library no longer uses it.


What do folks think?


Please keep it. Removing it won't gain you anything, and people do rely on 
it.


--
Marc Glisse


Re: Remove the __GXX_EXPERIMENTAL_CXX0X__?

2013-07-03 Thread Gabriel Dos Reis
On Wed, Jul 3, 2013 at 4:39 PM, Ed Smith-Rowland 3dw...@verizon.net wrote:
 While thinking about C++ n3694 feature test macros I noticed we still define
 __GXX_EXPERIMENTAL_CXX0X__ macro in c-family/c-cppbuiltin.c.
 We got rid of all uses of it in libstdc++.
 I propose we get rid of it here too.
 User's shouldn't be relying on it.  No?

 OTOH, it may have been a proxy for __cplusplus for users for a good while.
 People may still be using it even if the library no longer uses it.

 What do folks think?

Deprecate it for 4.9.x.
Remove it later.  We don't need to keep around
this macro which has been obsolete for at least
two releases.

-- Gaby