Author Topic: Ignore compiler output (via string matching strategy)  (Read 5065 times)

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Ignore compiler output (via string matching strategy)
« on: February 28, 2009, 07:59:20 pm »
I am uploading a patch here that I found useful for myself:

I have enhanced the compiler options to ignore compiler output messages that match a certain string(s).
I found this very handy when I was building my project(s) with all warnings to ignore warnings coming from 3rd party libs.
You can find the the new option on the "other settings" tab in the compiler options (applies to all compilers at once).
If you (e.g.) add the path to your wxWidgets libs there (in my case it's D:/Devel/wxWidgets) all messages / warnings / errors that contain this string are ignored and are not shown in the compiler/build log. For convenience I piped them to the debug log anyways...

Probably somebody might find this helpful, too...

[attachment deleted by admin]
« Last Edit: February 28, 2009, 08:01:05 pm by MortenMacFly »
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline Seronis

  • Almost regular
  • **
  • Posts: 197
Re: Ignore compiler output (via string matching strategy)
« Reply #1 on: March 04, 2009, 12:41:50 am »
very useful.  thank you