annoying dllimport warnings under mingw

Holger Schröder schroder at kde.org
Tue Mar 20 23:04:40 GMT 2007


Hi,

when i compile kdelibs under mingw i get the following warning for a lot of 
files. can somebody tell me how to fix/work around this ? it is impossible to 
see the other warnings when there are hundreds of instances of this warning.

[ 31%] Building CXX object kdeui/CMakeFiles/kdeui.dir/actions/kaction.obj
e:/mingwroot/tmp/kdelibs-3.80.3/work/kdelibs/kdecore/io/kdebug.h: In 
instantiation of `kdbgstream& kdbgstream::operator<<(const T&) [with T = 
QLatin1Char]': 
e:/mingwroot/tmp/kdelibs-3.80.3/work/kdelibs/kdecore/io/kdebug.h:130:   
instantiated from here 
e:/mingwroot/tmp/kdelibs-3.80.3/work/kdelibs/kdecore/io/kdebug.h:296: 
warning: 'kdbgstream& kdbgstream::operator<<(const T&) [with T = 
QLatin1Char]' defined locally after being referenced with dllimport linkage


regards, Holger




More information about the kde-core-devel mailing list