Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: 3.1.6-test-3: less pedantry



I finally flipped and got bored of gcc -pedantic warnings about `long long'
and variable-sized arrays when compiling with debugging, which seem now to
be more trouble than they're worth.  -pedantic was never supposed to be
useful anyway.

Personally, I always stick in -O2 to the CFLAGS since it makes the
resulting shell more usable and there are more active warnings, but I
suppose I shouldn't inflict that on everybody.

--- configure.in.noped	Tue Jul 20 09:27:11 1999
+++ configure.in	Tue Jul 27 17:09:40 1999
@@ -254,7 +254,7 @@
 if test -n "$auto_cflags"; then
   if test "${enable_zsh_debug}" = yes; then
     if test -n "$GCC"; then
-      CFLAGS="$CFLAGS -Wall -Wno-implicit -Wmissing-prototypes -pedantic -ggdb"
+      CFLAGS="$CFLAGS -Wall -Wno-implicit -Wmissing-prototypes -ggdb"
     else
       CFLAGS="$CFLAGS -g"
     fi

-- 
Peter Stephenson <pws@xxxxxxxxxxxxxxxxx>       Tel: +39 050 844536
WWW:  http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy



Messages sorted by: Reverse Date, Date, Thread, Author