News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Some compiler messages as wrongly being shown as errors

Started by SL, May 10, 2005, 04:47:15 AM

Previous topic - Next topic

SL

Code::Blocks is incorrectly showing certain compiler messages as 'errors'.

Here's an example from the "Compiler" tab (Just to note, the bright red lines are the errors):
Compiling: src\intro.cpp
C:/Program Files/CodeBlocks/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h: In function `_InputIterator std::find(_InputIterator, _InputIterator, const _Tp&, std::input_iterator_tag) [with _InputIterator = utils::utf8_iterator, _Tp = char]':
C:/Program Files/CodeBlocks/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:314:   instantiated from `_InputIterator std::find(_InputIterator, _InputIterator, const _Tp&) [with _InputIterator = utils::utf8_iterator, _Tp = char]'
src\intro.cpp:237:   instantiated from here

C:/Program Files/CodeBlocks/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:172: warning: comparison between signed and unsigned integer expressions


The two bright red lines are also in the "Compiler messages" screen.

I'm using the default compiler and so forth which came with Code::Blocks, and the latest version (1.0beta7).