User forums > Using Code::Blocks

Build messages settings and Find/Replace tool

<< < (2/5) > >>

Joshua Flynn:
Another couple of questions: How do I make it so the build messages either retains the warning messages (on a successful compile) or quits when it gets an warning?

Is it possible to disable specific warning messages? And if so, how?

Sorry for the questions.

zabzonk:
Not to do with your two main questions, but just to note that returning const values of any sort is kind of a waste of time in C++.

oBFusCATed:

--- Quote from: Joshua Flynn on August 31, 2011, 10:57:27 am ---Another couple of questions: How do I make it so the build messages either retains the warning messages (on a successful compile) or quits when it gets an warning?

Is it possible to disable specific warning messages? And if so, how?

--- End quote ---
Yes, but this depends on the compiler, for gcc check the various -W options.
Then you set the options in Project->build options -> target -> compiler -> other (if there is no such option in the main options)

Jenna:
Please read carefully:

--- Quote from: jens on August 31, 2011, 10:23:36 am ---Can you post a snippet of the content of the "Build log" and the "Build messages" with an error messages that does not work ?

--- End quote ---

Just copy and paste, please do not post a screenshot, if it is not absolutely necessary.

Freem:

--- Quote from: Joshua Flynn on August 31, 2011, 10:06:07 am ---2) What are valid regular expressions, and how do I use them? Anything that helps reduce false positives is appreciated.

--- End quote ---
http://en.wikipedia.org/wiki/Regular_expression

There is a plugin in C::B to test your regex, too. (regular expressions testbed or something like that).
But I don't know exactly if C::B only use POSIX, or support PERL, or a mix between them, or a "POSIX-LITE".

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version