[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#367657: GCC new warnings and compatibility



On Wed, May 17, 2006 at 09:54:56PM +0200, Wouter Verhelst wrote:
> In configure.ac:
> 
> AC_ARG_ENABLE(warnings-as-errors,
> 	AC_HELP_STRING(--enable-warnings-as-errors,Treat warnings as errors (default off),
> 	[WARN_IS_ERR="$enableval"], [WARN_IS_ERR="no"])
> 
> AM_CONDITIONAL(WARN, test "$WARN_IS_ERR" = yes)
> 
> In Makefile.am:
> 
> if C_WARN

Err, that shouldn've said 'if WARN', rather than 'if C_WARN'. Not sure
where that came from.

> AM_CFLAGS += -Werror
> endif

-- 
Fun will now commence
  -- Seven Of Nine, "Ashes to Ashes", stardate 53679.4



Reply to: