help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: what does the macro "__GNUG__" mean?


From: Alex Vinokur
Subject: Re: what does the macro "__GNUG__" mean?
Date: Wed, 14 Jul 2004 20:14:42 +0300

"Guo Congbin" <guocongbin@sei.buaa.edu.cn> wrote in message 
news:cd3ag9$2vt4$1@mail.cn99.com...
> hi,
>     i know the macro "__GNUC__" is a compiler defined macro. but what does
> "__GNUG__" mean? Does it the same as "__GNUC__" or not?
>
>                     thank you
>
>


<QUOTE from 
http://gcc.gnu.org/onlinedocs/gcc-3.3.3/cpp/Common-Predefined-Macros.html>
__GNUG__
The GNU C++ compiler defines this. Testing it is equivalent to testing 
(__GNUC__ && __cplusplus).
</QUOTE>


-- 
   Alex Vinokur
     http://mathforum.org/library/view/10978.html
     http://sourceforge.net/users/alexvn





reply via email to

[Prev in Thread] Current Thread [Next in Thread]