[Qt-interest] Qt 4.5.0 snapshot on Windows/g++ 4.3.2
Yves Bailly
yves.bailly at sescoi.fr
Tue Feb 3 13:20:59 CET 2009
Hello all,
When trying to compile a small program on Windows using the
last snapshot and g++ 4.3.2 (from http://www.tdragon.net/recentgcc/),
I get millions of messages like this one:
[...]
In file included from ..\qt450\include/QtGui/qcolor.h:1,
from ..\qt450\include/QtGui/../../src/gui/image/qpixmap.h:41,
from ..\qt450\include/QtGui/qpixmap.h:1,
from ..\qt450\include/QtGui/../../src/gui/painting/qpainter.h:43,
from ..\qt450\include/QtGui/qpainter.h:1,
from ..\qt450\include\QtGui/../../src/gui/graphicsview/qgraphicsview.h:41,
from ..\qt450\include\QtGui/qgraphicsview.h:1,
from ..\qt450\include\QtGui/QGraphicsView:1,
from src\yasnaqe_gui_view.h:5,
from src\main.cpp:4:
..\qt450\include/QtGui/../../src/gui/painting/qcolor.h:236: warning:
'QDataStream& operator<<(QDataStream&, const QColor&)' redeclared without
dllimport attribute: previous dllimport ignored
..\qt450\include/QtGui/../../src/gui/painting/qcolor.h:237: warning:
'QDataStream& operator>>(QDataStream&, QColor&)' redeclared without dllimport
attribute: previous dllimport ignored
[...]
I noticed the same kind appeared while compiling Qt 4.5.0 itself. While
it doesn't seem to do any harm (at least qtdemo works fine), it's pretty
annoying to dig through all this to find my own warnings...
Regards,
--
/- Yves Bailly - Software developper -\
\- Sescoi France http://www.sescoi.fr -/
"The possible is done. The impossible is being done. For miracles,
thanks to allow a little delay."
More information about the Qt-interest-old
mailing list