PDA

View Full Version : Some very weird compilation warnings



MarkoSan
22nd January 2008, 02:13
Hi!

I added a .png icon to my application and tried to rebuild. I get following warnings:
Severity and Description Path Resource Location Creation Time Id
C:\DOCUME~1\markofr\LOCALS~1\Temp/cc4Ibaaa.s .stabs: description field '10cf7' too big, try a different debug format eROSystem line 1101703 1200967859703 4025
C:\DOCUME~1\markofr\LOCALS~1\Temp/cc4Ibaaa.s .stabs: description field '10d44' too big, try a different debug format eROSystem line 1101704 1200967859703 4026
C:\DOCUME~1\markofr\LOCALS~1\Temp/cc4Ibaaa.s .stabs: description field '10d67' too big, try a different debug format eROSystem line 100 1200967859703 3994
C:\DOCUME~1\markofr\LOCALS~1\Temp/cc4Ibaaa.s .stabs: description field '10d6c' too big, try a different debug format eROSystem line 1101705 1200967859703 4027
C:\DOCUME~1\markofr\LOCALS~1\Temp/cc4Ibaaa.s .stabs: description field '10d6e' too big, try a different debug format eROSystem line 131 1200967859703 3999
C:\DOCUME~1\markofr\LOCALS~1\Temp/cc4Ibaaa.s .stabs: description field '10d73' too big, try a different debug format eROSystem line 160 1200967859703 4004
C:\DOCUME~1\markofr\LOCALS~1\Temp/cc4Ibaaa.s .stabs: description field '10d73' too big, try a different debug format eROSystem line 167 1200967859703 4005
C:\DOCUME~1\markofr\LOCALS~1\Temp/cc4Ibaaa.s .stabs: description field '10d73' too big, try a different debug format eROSystem line 168 1200967859703 4006
C:\DOCUME~1\markofr\LOCALS~1\Temp/cc4Ibaaa.s .stabs: description field '10d73' too big, try a different debug format eROSystem line 169 1200967859703 4007
C:\DOCUME~1\markofr\LOCALS~1\Temp/cc4Ibaaa.s .stabs: description field '10d73' too big, try a different debug format eROSystem line 209 1200967859703 4011
C:\DOCUME~1\markofr\LOCALS~1\Temp/cc4Ibaaa.s .stabs: description field '10d73' too big, try a different debug format eROSystem line 210 1200967859703 4012
C:\DOCUME~1\markofr\LOCALS~1\Temp/cc4Ibaaa.s .stabs: description field '10d73' too big, try a different debug format eROSystem line 231 1200967859703 4015
C:\DOCUME~1\markofr\LOCALS~1\Temp/cc4Ibaaa.s .stabs: description field '10d73' too big, try a different debug format eROSystem line 232 1200967859703 4016
C:\DOCUME~1\markofr\LOCALS~1\Temp/cc4Ibaaa.s .stabs: description field '10d73' too big, try a different debug format eROSystem line 1101706 1200967859703 4028
C:\DOCUME~1\markofr\LOCALS~1\Temp/cc4Ibaaa.s .stabs: description field '10d74' too big, try a different debug format eROSystem line 1101660 1200967859703 4019
C:\DOCUME~1\markofr\LOCALS~1\Temp/cc4Ibaaa.s .stabs: description field '10d75' too big, try a different debug format eROSystem line 1101682 1200967859703 4022
C:\DOCUME~1\markofr\LOCALS~1\Temp/cc4Ibaaa.s description field '10d67' too big, try a different debug format eROSystem line 104 1200967859703 3995
C:\DOCUME~1\markofr\LOCALS~1\Temp/cc4Ibaaa.s description field '10d69' too big, try a different debug format eROSystem line 111 1200967859703 3996
C:\DOCUME~1\markofr\LOCALS~1\Temp/cc4Ibaaa.s description field '10d6a' too big, try a different debug format eROSystem line 118 1200967859703 3997
C:\DOCUME~1\markofr\LOCALS~1\Temp/cc4Ibaaa.s description field '10d6b' too big, try a different debug format eROSystem line 123 1200967859703 3998
C:\DOCUME~1\markofr\LOCALS~1\Temp/cc4Ibaaa.s description field '10d6c' too big, try a different debug format eROSystem line 177 1200967859703 4009
C:\DOCUME~1\markofr\LOCALS~1\Temp/cc4Ibaaa.s description field '10d6e' too big, try a different debug format eROSystem line 135 1200967859703 4000
C:\DOCUME~1\markofr\LOCALS~1\Temp/cc4Ibaaa.s description field '10d70' too big, try a different debug format eROSystem line 142 1200967859703 4001
C:\DOCUME~1\markofr\LOCALS~1\Temp/cc4Ibaaa.s description field '10d71' too big, try a different debug format eROSystem line 149 1200967859703 4002
C:\DOCUME~1\markofr\LOCALS~1\Temp/cc4Ibaaa.s description field '10d72' too big, try a different debug format eROSystem line 154 1200967859703 4003
C:\DOCUME~1\markofr\LOCALS~1\Temp/cc4Ibaaa.s description field '10d73' too big, try a different debug format eROSystem line 172 1200967859703 4008
C:\DOCUME~1\markofr\LOCALS~1\Temp/cc4Ibaaa.s description field '10d73' too big, try a different debug format eROSystem line 186 1200967859703 4010
C:\DOCUME~1\markofr\LOCALS~1\Temp/cc4Ibaaa.s description field '10d73' too big, try a different debug format eROSystem line 214 1200967859703 4013
C:\DOCUME~1\markofr\LOCALS~1\Temp/cc4Ibaaa.s description field '10d73' too big, try a different debug format eROSystem line 220 1200967859703 4014
C:\DOCUME~1\markofr\LOCALS~1\Temp/cc4Ibaaa.s description field '10d73' too big, try a different debug format eROSystem line 236 1200967859703 4017
C:\DOCUME~1\markofr\LOCALS~1\Temp/cc4Ibaaa.s description field '10d73' too big, try a different debug format eROSystem line 240 1200967859703 4018
C:\DOCUME~1\markofr\LOCALS~1\Temp/cc4Ibaaa.s description field '10d74' too big, try a different debug format eROSystem line 1101663 1200967859703 4020
C:\DOCUME~1\markofr\LOCALS~1\Temp/cc4Ibaaa.s description field '10d74' too big, try a different debug format eROSystem line 1101668 1200967859703 4021
C:\DOCUME~1\markofr\LOCALS~1\Temp/cc4Ibaaa.s description field '10d75' too big, try a different debug format eROSystem line 1101685 1200967859703 4023
C:\DOCUME~1\markofr\LOCALS~1\Temp/cc4Ibaaa.s description field '10d75' too big, try a different debug format eROSystem line 1101690 1200967859703 4024

Can someone tell me what the hell is going on??

jpn
22nd January 2008, 08:05
Which tool outputs these warnings? It's always a good idea to paste the preceding command together with errors/warnings.

MarkoSan
22nd January 2008, 08:13
mingw32-make

MarkoSan
22nd January 2008, 19:41
jpn and other kind people, now I am trying to debug an QEvent::ChangeLanguage, I've set a breakpoint on following code:
void COperationWIndow::changeEvent(QEvent* e)
{
qDebug() << "Change event .."; // debug - BREAKPOINT HAS BEEN SET IN THIS LINE
if(e->type()==QEvent::LanguageChange)
{
// language has changed
qDebug() << "Language has changed";
}
}and after compile I get in Eclipse console:
mingw32-make
mingw32-make -f Makefile.Debug
mingw32-make[1]: Entering directory `C:/Documents and Settings/markofr/workspace/eROSystem'
g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_SQL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"..\..\..\..\Qt\4.3.3\include\QtCore" -I"..\..\..\..\Qt\4.3.3\include\QtCore" -I"..\..\..\..\Qt\4.3.3\include\QtGui" -I"..\..\..\..\Qt\4.3.3\include\QtGui" -I"..\..\..\..\Qt\4.3.3\include\QtSql" -I"..\..\..\..\Qt\4.3.3\include\QtSql" -I"..\..\..\..\Qt\4.3.3\include" -I"c:\Qt\4.3.3\include\ActiveQt" -I"debug" -I"." -I"..\..\..\..\Qt\4.3.3\mkspecs\win32-g++" -o debug\CLanguageSelectorWidget.o CLanguageSelectorWidget.cpp
g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_SQL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"..\..\..\..\Qt\4.3.3\include\QtCore" -I"..\..\..\..\Qt\4.3.3\include\QtCore" -I"..\..\..\..\Qt\4.3.3\include\QtGui" -I"..\..\..\..\Qt\4.3.3\include\QtGui" -I"..\..\..\..\Qt\4.3.3\include\QtSql" -I"..\..\..\..\Qt\4.3.3\include\QtSql" -I"..\..\..\..\Qt\4.3.3\include" -I"c:\Qt\4.3.3\include\ActiveQt" -I"debug" -I"." -I"..\..\..\..\Qt\4.3.3\mkspecs\win32-g++" -o debug\CFlagButton.o CFlagButton.cpp
C:\DOCUME~1\markofr\LOCALS~1\Temp/ccymbaaa.s: Assembler messages:
C:\DOCUME~1\markofr\LOCALS~1\Temp/ccymbaaa.s:3188: Fatal error: Case value 262145 unexpected at line 2251 of file "../../src/gas/write.c"

mingw32-make[1]: *** [debug/CFlagButton.o] Error 1
mingw32-make[1]: Leaving directory `C:/Documents and Settings/markofr/workspace/eROSystem'
mingw32-make: *** [debug] Error 2Some two days ago my comp crashed (Blue Screen of Death). I became suspicious about Qt corrupted files. Should I try to recompile whole Qt?

MarkoSan
22nd January 2008, 21:18
Well, this is getting weirder and weirder. I've restarted the comp and now I am trying to compile THE IDENTICAL CODE. I get following errors:
mingw32-make
mingw32-make -f Makefile.Debug
mingw32-make[1]: Entering directory `C:/Documents and Settings/markofr/workspace/eROSystem'
g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_SQL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"..\..\..\..\Qt\4.3.3\include\QtCore" -I"..\..\..\..\Qt\4.3.3\include\QtCore" -I"..\..\..\..\Qt\4.3.3\include\QtGui" -I"..\..\..\..\Qt\4.3.3\include\QtGui" -I"..\..\..\..\Qt\4.3.3\include\QtSql" -I"..\..\..\..\Qt\4.3.3\include\QtSql" -I"..\..\..\..\Qt\4.3.3\include" -I"c:\Qt\4.3.3\include\ActiveQt" -I"debug" -I"." -I"..\..\..\..\Qt\4.3.3\mkspecs\win32-g++" -o debug\CLanguageSelectorWidget.o CLanguageSelectorWidget.cpp
g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_SQL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"..\..\..\..\Qt\4.3.3\include\QtCore" -I"..\..\..\..\Qt\4.3.3\include\QtCore" -I"..\..\..\..\Qt\4.3.3\include\QtGui" -I"..\..\..\..\Qt\4.3.3\include\QtGui" -I"..\..\..\..\Qt\4.3.3\include\QtSql" -I"..\..\..\..\Qt\4.3.3\include\QtSql" -I"..\..\..\..\Qt\4.3.3\include" -I"c:\Qt\4.3.3\include\ActiveQt" -I"debug" -I"." -I"..\..\..\..\Qt\4.3.3\mkspecs\win32-g++" -o debug\CFlagButton.o CFlagButton.cpp
In file included from C:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/basic_ios.h:44,
from C:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/ios:51,
from C:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/ostream:45,
from C:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/iterator:71,
from ../../../../Qt/4.3.3/include/QtCore/../../src/corelib/tools/qlist.h:45,
from ../../../../Qt/4.3.3/include/QtCore/qlist.h:1,
from ../../../../Qt/4.3.3/include/QtCore/../../src/corelib/kernel/qobject.h:45,
from ../../../../Qt/4.3.3/include/QtCore/qobject.h:1,
from ../../../../Qt/4.3.3/include/QtCore/../../src/corelib/io/qiodevice.h:41,
from ../../../../Qt/4.3.3/include/QtCore/qiodevice.h:1,
from ../../../../Qt/4.3.3/include/QtCore/../../src/corelib/io/qdatastream.h:40,
from ../../../../Qt/4.3.3/include/QtCore/qdatastream.h:1,
from ../../../../Qt/4.3.3/include/QtCore/../../src/corelib/tools/qstringlist.h:41,
from ../../../../Qt/4.3.3/include/QtCore/qstringlist.h:1,
from ../../../../Qt/4.3.3/include/QtGui/../../src/gui/painting/qcolor.h:42,
from ../../../../Qt/4.3.3/include/QtGui/qcolor.h:1,
from ../../../../Qt/4.3.3/include/QtGui/../../src/gui/image/qpixmap.h:41,
from ../../../../Qt/4.3.3/include/QtGui/qpixmap.h:1,
from ../../../../Qt/4.3.3/include/QtGui/../../src/gui/image/qicon.h:42,
from ../../../../Qt/4.3.3/include/QtGui/qicon.h:1,
from ../../../../Qt/4.3.3/include/QtGui/../../src/gui/widgets/qabstractbutton.h:40,
from ../../../../Qt/4.3.3/include/QtGui/qabstractbutton.h:1,
from ../../../../Qt/4.3.3/include/QtGui/../../src/gui/widgets/qpushbutton.h:40,
from ../../../../Qt/4.3.3/include/QtGui/qpushbutton.h:1,
from ../../../../Qt/4.3.3/include/QtGui/QPushButton:1,
from CFlagButton.h:14,
from CFlagButton.cpp:1:
C:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/locale_facets.h:4297: error: `const$char' has not been declared
In file included from C:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/locale_facets.h:4487,
from C:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/basic_ios.h:44,
from C:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/ios:51,
from C:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/ostream:45,
from C:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/iterator:71,
from ../../../../Qt/4.3.3/include/QtCore/../../src/corelib/tools/qlist.h:45,
from ../../../../Qt/4.3.3/include/QtCore/qlist.h:1,
from ../../../../Qt/4.3.3/include/QtCore/../../src/corelib/kernel/qobject.h:45,
from ../../../../Qt/4.3.3/include/QtCore/qobject.h:1,
from ../../../../Qt/4.3.3/include/QtCore/../../src/corelib/io/qiodevice.h:41,
from ../../../../Qt/4.3.3/include/QtCore/qiodevice.h:1,
from ../../../../Qt/4.3.3/include/QtCore/../../src/corelib/io/qdatastream.h:40,
from ../../../../Qt/4.3.3/include/QtCore/qdatastream.h:1,
from ../../../../Qt/4.3.3/include/QtCore/../../src/corelib/tools/qstringlist.h:41,
from ../../../../Qt/4.3.3/include/QtCore/qstringlist.h:1,
from ../../../../Qt/4.3.3/include/QtGui/../../src/gui/painting/qcolor.h:42,
from ../../../../Qt/4.3.3/include/QtGui/qcolor.h:1,
from ../../../../Qt/4.3.3/include/QtGui/../../src/gui/image/qpixmap.h:41,
from ../../../../Qt/4.3.3/include/QtGui/qpixmap.h:1,
from ../../../../Qt/4.3.3/include/QtGui/../../src/gui/image/qicon.h:42,
from ../../../../Qt/4.3.3/include/QtGui/qicon.h:1,
from ../../../../Qt/4.3.3/include/QtGui/../../src/gui/widgets/qabstractbutton.h:40,
from ../../../../Qt/4.3.3/include/QtGui/qabstractbutton.h:1,
from ../../../../Qt/4.3.3/include/QtGui/../../src/gui/widgets/qpushbutton.h:40,
from ../../../../Qt/4.3.3/include/QtGui/qpushbutton.h:1,
from ../../../../Qt/4.3.3/include/QtGui/QPushButton:1,
from CFlagButton.h:14,
from CFlagButton.cpp:1:
C:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/mingw32/bits/messages_members.h:44: error: prototype for `std::messages<_CharT>::messages(int*, const char*, size_t)' does not match any in class `std::messages<_CharT>'
C:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/locale_facets.h:4297: error: candidates are: std::messages<_CharT>::messages(int*, int*, size_t)
C:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/mingw32/bits/messages_members.h:39: error: std::messages<_CharT>::messages(size_t)
C:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/mingw32/bits/messages_members.h:44: error: template definition of non-template `std::messages<_CharT>::messages(int*, const char*, size_t)'
mingw32-make[1]: *** [debug/CFlagButton.o] Error 1
mingw32-make[1]: Leaving directory `C:/Documents and Settings/markofr/workspace/eROSystem'
mingw32-make: *** [debug] Error 2

I do not know what is going on. WTF??!!!

MarkoSan
22nd January 2008, 23:38
Well, I've succesfully got rid of this error. My geniality :D has written this chunk of code into header file:
#include <QEvent>
class QEvent; // forward declarationUnfortunately, those warnings from post #1 reside. I've added an attachment, which contains extended compile report, asked by jpn.

jpn
23rd January 2008, 06:56
Are you using a normal Windows command prompt (Qt command prompt)?

MarkoSan
23rd January 2008, 07:08
Yep, I tried both, Eclipse IDE console and Qt command prompt, same warnings. But when I removed a picture from .qrc file, these warnings had dissapeared. Is this some kind of bug?

jpn
23rd January 2008, 07:12
Ok, I just asked because while searching Google for such warning I got hits related to Cygwin. Could you by any chance attach the image? I could give it a try if I'm getting same warnings.

MarkoSan
23rd January 2008, 07:16
What do you mean by image? Exe image or picture of some kind? I cannot give you GUI representation becuase once I delete some png file from resource file, the warnings have dissapeared.

jpn
23rd January 2008, 07:19
With image I meant the .png file which is causing such warnings. But are you saying that any .png file causes them?

MarkoSan
23rd January 2008, 07:39
Attached png file causes warnings.

jpn
23rd January 2008, 08:03
Hmm, no warnings for me with Qt 4.3.3 and MinGW.

MarkoSan
23rd January 2008, 08:06
Should I send you all the pics included in qrc?

jpn
23rd January 2008, 08:54
I'm not convinced it changes the situation. I'm clueless about the problem, sorry.

MarkoSan
23rd January 2008, 09:43
No problem, I will reduce the number of elements in .qrc and all will be fine.

jpn
23rd January 2008, 09:45
Oh, it happens only when enough images are embedded as resources?

MarkoSan
23rd January 2008, 13:00
Yep, that is what I have been telling you from beginning.

jpn
23rd January 2008, 13:09
Have you? Which message says so? :) Anyway, maybe your computer runs out of memory while compiling a large resource file.

MarkoSan
23rd January 2008, 15:19
??? Out of memory???? I have 2 gigs of ram, plentiy of disk space, and if your assumption is true for a lousy 6mb exe, then trolltech should close the firm. :D

jpn
23rd January 2008, 16:39
It wasn't an assumption. I'm just throwing dummy ideas. As you can see from the number of answers (besides mine) it's definitely not an everyday problem. Anyway, I've heard people complaining that 1GB is not enough to compile an app with plenty of resources. Don't ask me about consequences or what did they mean with "plenty".

MarkoSan
23rd January 2008, 16:48
Ok, you are right. I've installed heap size monitor in Eclipse and when compiling app, I get this monitor to RED state (which mean 254 of 244 mb ram if used while compilation). How do I increase this memory boundary to, let's say 1 giga in eclipse? And how does cmd.exe allocates memory, is it possible to increase it to 1 giga?