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


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From phil at jaj dot com  2003-08-04 08:17 -------
Subject: Re:  __cplusplus defined to 1, should be 199711L

> Sure he missed the point.  To see why you need to consider the whole
> previous comments.  

I disagree, but we'll leave it at that.


> There is an alternate option: Define __cplucplus on target (os or
> cpu) basis.  For example have V3/config/os/generic/os_defines.h define
> __cplusplus to the correct value (which should be something higher
> than 199711l, I don't recall the exact value) and have solaris8
> override it.

199711L is the value called for by 14882.  Are we permitted to use higher
values?

How would a V3 header file help us here?  None of our headers are used.


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