On Tue, Jan 24, 2012 at 1:09 PM, Eric Anholt <[email protected]> wrote: > You don't want to continue on when you've used something that is > probably a typo of a real symbol, or maybe just using the wrong > signature. > ---
-Werror=implicit would help cover this from the caller side of things, too. > configure.ac | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/configure.ac b/configure.ac > index 18a40fc..74e5fe4 100644 > --- a/configure.ac > +++ b/configure.ac > @@ -176,7 +176,7 @@ esac > > dnl Add flags for gcc and g++ > if test "x$GCC" = xyes; then > - CFLAGS="$CFLAGS -Wall -Wmissing-prototypes -std=c99" > + CFLAGS="$CFLAGS -Wall -Wmissing-prototypes -Werror=missing-prototypes > -std=c99" > > # Enable -fvisibility=hidden if using a gcc that supports it > save_CFLAGS="$CFLAGS" > -- > 1.7.7.3 > > _______________________________________________ > mesa-dev mailing list > [email protected] > http://lists.freedesktop.org/mailman/listinfo/mesa-dev _______________________________________________ mesa-dev mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-dev
