This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: _cplusplus symbol's value
- From: Paolo Carlini <paolo dot carlini at oracle dot com>
- To: koala01 <koala01 at free dot fr>
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 28 Jan 2010 13:23:52 +0100
- Subject: Re: _cplusplus symbol's value
- References: <4B617FFB.6080405@free.fr>
On 01/28/2010 01:15 PM, koala01 wrote:
> Hi,
>
> I would like to discuss about _cplusplus symbol value.
>
> for now, we have:
> 0 if we do not compile in C++
> 1 if we compile in C++
You mean __cplusplus, double underscore.
Anyway, we have a long standing Bugzilla about it:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=1773
who knows, maybe we can make progress relatively soon...
Paolo.