[Interest] mingw & Qt 5.2.0 problems (building for Android)
Thiago Macieira
thiago.macieira at intel.com
Tue Dec 17 07:50:46 CET 2013
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20131216/42afa0db/attachment.sig>
More information about the Interest
mailing list