Hi,

I just installed QtCreator 2.0 and tried to comile a free app. 

I got some warnings i,e,
../src/persistence/xml/PriestStorage.cpp 
../src/persistence/BasicClassStorage.h: In 
constructor ‘CBasicClassStorage<T>::CBasicClassStorage() [with T = CPriest]’: 
../src/persistence/xml/PriestStorage.cpp:19: instantiated from here 
../src/persistence/BasicClassStorage.h:89: 
warning: ‘CBasicClassStorage<CPriest>::m_persistentStore’ will be initialized 
after 
../src/persistence/BasicClassStorage.h:70: warning: ‘CPriest* 
CBasicClassStorage<CPriest>::m_loaded’ 
../src/persistence/BasicClassStorage.h:73: warning: when initialized here 
../src/persistence/BasicClassStorage.h:70: 
warning: ‘CBasicClassStorage<CPriest>::m_loaded’ will be initialized after 
../src/persistence/BasicClassStorage.h:69: warning: ‘const CPriest* 
CBasicClassStorage<CPriest>::m_saved’ 
../src/persistence/BasicClassStorage.h:73: warning: when initialized here 

but the panel "build problems" shows the 
line "../src/persistence/xml/PriestStorage.cpp:19: instantiated from here"
as an error. Possible bug in QtCreator?

This warnings are generated by
gcc --version
gcc (GCC) 4.2.1 (SUSE Linux)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


Greetings
Martin

_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-creator

Reply via email to