On terça-feira, 17 de dezembro de 2013 09:22:30, Igor Mironchik wrote: > I use the latest mingw but he can't compile next program: > > #include <stdio.h> > > int main( int argc, char ** argv ) > { > FILE * f = _popen( argv[ 1 ], "r" ); > } > > g++ -c -pipe -fno-keep-inline-dllexport -O2 -std=c++0x -fno-exceptions > -frtti -Wall -Wextra main.cpp > > main.cpp: In function 'int main(int, char**)': > main.cpp:6:39: error: '_popen' was not declared in this scope > FILE * f = _popen( argv[ 1 ], "r" );
Then downgrade your mingw to a version that has _popen properly declared, then report a bug to the mingw devs. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest