Bug #18270 2011-07-22 22:59

athar

Code::Blocks treats compiler notes as errors

Notes generated by g++ such as

note: synthesized method ‘foo::foo()’ first required here

are treated as errors by Code::Blocks.

This happens because the note matches the regexp for "Preprocessor error" before it can match "Compiler note".

Reversing the order of those two regexp would fix the problem.

Category
Application::WrongBehaviour
Group
Platform:All
Status
Closed
Close date
2012-02-26 20:11
Assigned to
jenslody
jenslody 2011-08-21 07:39

Please copy and paste the exact message here.

If I use your example from below, it's correctly recognized on linux.

I tried it in the regexes tab of the advanced compiler-settings.

athar 2011-08-28 19:38

This is an example of a compiler note that triggers the problem:

/home/david/Projekte/Library/library/graphics.cpp|254|note: synthesized method ‘RescaleLoadingData::RescaleLoadingData()’ first required here |

jenslody 2012-01-24 09:46

Does this bug still persist?

athar 2012-02-26 18:29

I just tested it with a fresh install of svn 7789.

It's fixed.

jenslody 2012-02-26 20:11

Thanks for the feedback.

I close the bug now.

Jens