This is the mail archive of the gcc-bugs@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]

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


------- 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


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