This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Howto detect -std=c++0x mode?
- From: kevin diggs <diggskevin38 at gmail dot com>
- To: Neal Becker <ndbecker2 at gmail dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Tue, 8 Mar 2011 10:42:15 -0600
- Subject: Re: Howto detect -std=c++0x mode?
- References: <il5lni$qqs$1@dough.gmane.org>
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+)?
>
>