[Cbc] Compiler warning flags

Alpár Jüttner alpar at cs.elte.hu
Fri Apr 15 06:38:35 EDT 2011


On Fri, 2011-04-15 at 12:34 +0200, Stefan Vigerske wrote:
> Hi,
> 
> > For testing purposes, I would like to change the compiler warning flags
> > used by CBC, but I can't figure out how to do it. By default, it is set
> > to something like
> >
> > -pedantic-errors -Wimplicit -Wparentheses -Wreturn-type -Wcast-qual
> > -Wall -Wpointer-arith -Wwrite-strings -Wconversion -Wno-unknown-pragmas
> > -Wno-long-long
> >
> > But I can't find these option in the svn repository except for some
> > generated files like 'Makefile' and 'configure'. Where are they set
> > actually?
> 
> They are set in configure:2878 (current trunk).

But configure is a generated file. How those warning flags got there?
Are they used by default by autoconf?

Regards,
Alpar



More information about the Cbc mailing list