[Cogl] [PATCH 3/3] build: Use -Wundef when possible
Robert Bragg
robert at sixbynine.org
Wed Jan 2 03:20:38 PST 2013
This looks good to land to me:
Reviewed-by: Robert Bragg <robert at linux.intel.com>
thanks,
- Robert
On Sat, Dec 29, 2012 at 2:30 PM, Damien Lespiau
<damien.lespiau at gmail.com> wrote:
> From: Damien Lespiau <damien.lespiau at intel.com>
>
> This allows us to catch the use of undefined macros (that default to 0)
> in preprocessor conditionals.
> ---
> configure.ac | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index 32e95f7..e247bcb 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -300,7 +300,7 @@ AC_ARG_ENABLE(
>
> MAINTAINER_COMPILER_FLAGS="-Wall -Wcast-align -Wuninitialized
> -Wno-strict-aliasing -Wempty-body -Wformat
> - -Wformat-security -Winit-self
> + -Wformat-security -Winit-self -Wundef
> -Wdeclaration-after-statement -Wvla
> -Wpointer-arith -Wmissing-declarations"
>
> --
> 1.7.7.5
>
> _______________________________________________
> Cogl mailing list
> Cogl at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/cogl
More information about the Cogl
mailing list