On Wed, Nov 06, 2013 at 07:45:39PM -0800, Keith Packard wrote:
> Many system headers have warnings when compiled with this flag.
>
> Signed-off-by: Keith Packard <[email protected]>
In theory, GCC should never be warning about things from system headers
unless asked to...
> configure.ac | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/configure.ac b/configure.ac
> index 6c107bc..4a30584 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -128,7 +128,7 @@ xcbincludedir='${includedir}/xcb'
> AC_SUBST(xcbincludedir)
>
> if test "x$GCC" = xyes ; then
> - CWARNFLAGS="-Wall -pedantic -Wpointer-arith -Wold-style-definition \
> + CWARNFLAGS="-Wall -Wpointer-arith -Wold-style-definition \
> -Wstrict-prototypes -Wmissing-declarations -Wnested-externs"
> else
> AC_CHECK_DECL([__SUNPRO_C], [SUNCC="yes"], [SUNCC="no"])
> --
> 1.8.4.2
>
> _______________________________________________
> Xcb mailing list
> [email protected]
> http://lists.freedesktop.org/mailman/listinfo/xcb
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel