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

Re: Howto detect -std=c++0x mode?


Hi,

Hey, Wait! I *might* know this one!

Does:
g++ -std=c++0x -xc++ -E -dM /dev/null

help?

kevin
On Tue, Mar 8, 2011 at 10:32 AM, Neal Becker <ndbecker2@gmail.com> wrote:
> Is there a macro to tell me we're in c++0x mode (gcc-4.5+)?
>
>


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