Ignoring #pragma
-
Hi,
I have a strange problem. I have made my app on windows 8.1 where I had used #pragma directives. Running this application in QtCreator on this system is going successful. I need to run it also on windows XP where i have this error:
"ignoring #pragma comment [-Wunknown-pragmas]"
"ignoring #pragma data_seg [-Wunknown-pragmas]"What could be the problem?
-
In general I would expect you are not using the same compiler on both machines.
What are the compilers/kits used under windows 8 and xp?
Type?
Version? -
Compilers are the same:
MinGW 4.8 32bit
Microsoft Visual C++ Compiler 10.0 (x86)
Microsoft Visual C++ Compiler 10.0 (amd64)the diffrence is in Qt version:
windows 8: Qt Creator 2.8.1, Qt 5.1.1
windows XP: QtCreator 3.0.0, Qt 5.2.0@edit
I have reinstalled Qt on windows XP to the same version as on windows 8 and uncheck MinGW compiler while installing and everything is ok.Thank's for feedback.
-
I guess you are using now the same compiler on both machines, while you have used different compilers before.