Re: Enabling c++0x through code (without flags)

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

 



Goran Zuzic <Zuza777@xxxxxxxxxxxx> writes:

> Is there a way of enabling c++0x purely by editing my .cpp source (maybe adding a #pragma directive?).
> In other words, I would like to be able to write code that uses stuff such as lambda functions while compiling it with "g++ code.cpp", and not with "g++ code.cpp -std=c++0x".

No.  Sorry.

Of course you can use a shell script.

Ian


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux