[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: warning: module to simplify adding compiler warnings
From: |
Paolo Bonzini |
Subject: |
Re: warning: module to simplify adding compiler warnings |
Date: |
Mon, 10 Nov 2008 19:51:03 +0100 |
User-agent: |
Thunderbird 2.0.0.17 (Macintosh/20080914) |
Simon Josefsson wrote:
> I want to add some warning flags from configure, including -Werror.
You can use AC_PREPROC_IFELSE if using GCC:
$ gcc -E -x c /dev/null -Wno-frobnicate
cc1: error: unrecognized command line option "-Wno-frobnicate"
It is faster.
Also, this:
> + AC_COMPILE_IFELSE(AC_LANG_PROGRAM([]), foo=yes, foo=no)
is underquoted:
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([])], foo=yes, foo=no)
Thanks,
Paolo
- warning: module to simplify adding compiler warnings, Simon Josefsson, 2008/11/10
- Re: warning: module to simplify adding compiler warnings,
Paolo Bonzini <=
- Re: warning: module to simplify adding compiler warnings, Ralf Wildenhues, 2008/11/10
- Re: warning: module to simplify adding compiler warnings, Simon Josefsson, 2008/11/10
- Re: warning: module to simplify adding compiler warnings, Simon Josefsson, 2008/11/10
- Re: warning: module to simplify adding compiler warnings, Paolo Bonzini, 2008/11/11
- Re: warning: module to simplify adding compiler warnings, Simon Josefsson, 2008/11/11
- Re: warning: module to simplify adding compiler warnings, Paolo Bonzini, 2008/11/11
- Re: warning: module to simplify adding compiler warnings, Bruno Haible, 2008/11/11
- Re: warning: module to simplify adding compiler warnings, Paolo Bonzini, 2008/11/11
- Re: warning: module to simplify adding compiler warnings, Simon Josefsson, 2008/11/11