User forums > Help

wrong Warning report

(1/1)

Freem:
There is a warning line signaled as an error by C::B, and another is just not signaled (it's "mother").
The warnings following that are the good ones, are correctly parsed and are related to previous informations.

In that copy of my log, the "required from here" statement is signaled by C::B as an error, and the "In instantiation of" is just not signaled.

--- Code: ----------------- Build: Debug in autorealm (compiler: GNU GCC Compiler)---------------

g++ -std=c++0x -Wall -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-2.9 -I/usr/include/wx-2.9 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__   -std=c++0x -pg -g  -std=c++0x   -I../src -IrenderEngine  -c /home/berenger/autorealm/src/gui/MainFrame.cpp -o ../obj/debug/gui/MainFrame.o
/home/berenger/autorealm/src/gui/MainFrame.cpp: In instantiation of T* getProvider(pluma::Pluma&, const string&, const string&) [with T = PluginProvider; std::string = std::basic_string<char>]:
/home/berenger/autorealm/src/gui/MainFrame.cpp:101:142:   required from here
/home/berenger/autorealm/src/gui/MainFrame.cpp:45:4: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
/home/berenger/autorealm/src/gui/MainFrame.cpp:49:3: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
Output size is 2,13 MB
Process terminated with status 0 (0 minutes, 26 seconds)
1 errors, 2 warnings (0 minutes, 26 seconds)

--- End code ---

I think the error and the non detected informations should not be considered as warnings or errors, but another category. They are important and should be present in build messages, but not signaled in compiler final error/warning count.

stahta01:
You need to edit the compiler configuration on messages for GCC 4.7; they added new messages.
I wait till the CB Devs do it. I am not good at the syntax required for the filters (regex stuff).

Tim S.

Navigation

[0] Message Index

Go to full version