[Bug libstdc++/1773] __cplusplus defined to 1, should be 199711L

neroden at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Jan 7 21:29:00 GMT 2004


------- Additional Comments From neroden at gcc dot gnu dot org  2004-01-07 21:29 -------
Mark Mitchell wrote:
>Yes, it would be nice to take a more elegant approach with Solaris 8.  If that
>is really the only system where that is a problem,

That appears to be the case!

As Phil Edwards wrote earlier:
>The question is exactly the point:  "why are we holding back other platforms
>and other fixes for the sake of Solaris 8?"  

So I would like to suggest a different version of Mark's approach: define
__cplusplus correctly (to 199711L) by default, and allow targets to override it.
 Then Solaris 8 can set it to 1.  :-)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=1773



More information about the Gcc-bugs mailing list