Re: -Werror flag set unconditionally

2012-12-19 Thread Branko Čibej
On 20.12.2012 05:08, Arfrever Frehtes Taifersar Arahesis wrote: > 2012-12-20 04:41:56 Branko Čibej napisał(a): >> We want to always use -Werror=implicit-function-declaration (if compiler >> supports it) >> to ensure that nobody forgets to include required headers. >> I'm not convinced. We add -Wmi

Re: -Werror flag set unconditionally

2012-12-19 Thread Arfrever Frehtes Taifersar Arahesis
2012-12-20 04:41:56 Branko Čibej napisał(a): > On 20.12.2012 04:31, Arfrever Frehtes Taifersar Arahesis wrote: > > 2012-12-20 03:39:30 Branko Čibej napisał(a): > >> I found the following in configure.ac which unconditionally adds a > >> -Werror flag: > >> > >> dnl Add -Werror=implicit-function-decl

Re: -Werror flag set unconditionally

2012-12-19 Thread Branko Čibej
On 20.12.2012 04:41, Branko Čibej wrote: >> We want to always use -Werror=implicit-function-declaration (if compiler >> supports it) > ... which we don't check ... Never mind this bit, I was thinking of something else entirely when I wrote this. Sorry. -- Brane -- Branko Čibej Director of Subv

Re: -Werror flag set unconditionally

2012-12-19 Thread Branko Čibej
On 20.12.2012 04:31, Arfrever Frehtes Taifersar Arahesis wrote: > 2012-12-20 03:39:30 Branko Čibej napisał(a): >> I found the following in configure.ac which unconditionally adds a >> -Werror flag: >> >> dnl Add -Werror=implicit-function-declaration to CFLAGS >> CFLAGS_KEEP="$CFLAGS" >> CFLAGS="$CF

Re: -Werror flag set unconditionally

2012-12-19 Thread Arfrever Frehtes Taifersar Arahesis
2012-12-20 03:39:30 Branko Čibej napisał(a): > I found the following in configure.ac which unconditionally adds a > -Werror flag: > > dnl Add -Werror=implicit-function-declaration to CFLAGS > CFLAGS_KEEP="$CFLAGS" > CFLAGS="$CFLAGS_KEEP -Werror=implicit-function-declaration" > AC_COMPILE_IFELSE([A

-Werror flag set unconditionally

2012-12-19 Thread Branko Čibej
I found the following in configure.ac which unconditionally adds a -Werror flag: dnl Add -Werror=implicit-function-declaration to CFLAGS CFLAGS_KEEP="$CFLAGS" CFLAGS="$CFLAGS_KEEP -Werror=implicit-function-declaration" AC_COMPILE_IFELSE([AC_LANG_SOURCE([[]])], [CFLAGS_KEEP="$CFLAGS"]) CFLAGS="$CFL