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

gdr at integrable-solutions dot net gcc-bugzilla@gcc.gnu.org
Mon Aug 4 08:26:00 GMT 2003


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 gdr at integrable-solutions dot net  2003-08-04 08:26 -------
Subject: Re:  __cplusplus defined to 1, should be 199711L

"phil at jaj dot com" <gcc-bugzilla@gcc.gnu.org> writes:

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

Sure, as I said in the previous comment you were replying to, I do not
think we're going to reach anywhere with that start.  

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

TC1 has been made part of C++, now know as C++2003.  I do not have the
new definition oin my laptop right now.

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

Used for what?

-- Gaby



More information about the Gcc-bugs mailing list