Hey! 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". Thanks, Goran