[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

-Werror flag set unconditionally

From: Branko Čibej <brane_at_wandisco.com>
Date: Thu, 20 Dec 2012 03:39:30 +0100

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="$CFLAGS_KEEP"

I'm almost sure this should only be done in maintainer-mode?

-- Brane

-- 
Branko Čibej
Director of Subversion | WANdisco | www.wandisco.com
Received on 2012-12-20 03:40:09 CET

This is an archived mail posted to the Subversion Dev mailing list.