[Cbc] Compiler warning flags
Stefan Vigerske
stefan at math.hu-berlin.de
Fri Apr 15 06:43:53 EDT 2011
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?
They are set by the autoconf macros AC_COIN_PROG_C, AC_COIN_PROG_CXX
in BuildTools/coin.m4.
Stefan
PS: We are aware of https://projects.coin-or.org/Osi/ticket/100.
More information about the Cbc
mailing list