Changeset 364

Show
Ignore:
Timestamp:
01/10/00 15:19:56 (14 years ago)
Author:
ucaccsp
Message:

If you turn on "-Wstrict-prototypes" the C code generated as part of the
configure script breaks, and stops some of the tests from working. Our code
works fine with that warning flag. Sigh.

Location:
common/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • common/trunk/configure

    r361 r364  
    17261726if test "$GCC" = yes 
    17271727then 
    1728         CFLAGS="$CFLAGS -W -Wall -Wbad-function-cast -Wmissing-prototypes -Wcast-qual -Wstrict-prototypes -Wmissing-declarations -Werror" 
     1728        CFLAGS="$CFLAGS -W -Wall -Wbad-function-cast -Wmissing-prototypes -Wcast-qual -Wmissing-declarations -Werror" 
    17291729        if test -f .devel 
    17301730        then 
  • common/trunk/configure.in

    r361 r364  
    100100if test "$GCC" = yes 
    101101then 
    102         CFLAGS="$CFLAGS -W -Wall -Wbad-function-cast -Wmissing-prototypes -Wcast-qual -Wstrict-prototypes -Wmissing-declarations -Werror" 
     102        CFLAGS="$CFLAGS -W -Wall -Wbad-function-cast -Wmissing-prototypes -Wcast-qual -Wmissing-declarations -Werror" 
    103103        if test -f .devel 
    104104        then