I need to use popen in a project, but I get:
popen
error: \'popen\' was not declared in this scope
It looks like GCC defines __STRICT_ANSI__
__STRICT_ANSI__
I tested both MinGW gcc 4.6.1 and gcc 4.7.0: They both do define __STRICT_ANSI__ for -std=c++0x, but do not define it for -std=gnu++0x.
-std=c++0x
-std=gnu++0x