From 954fd1a60d149eb183b1fb1cd1f687ae5020f4e2 Mon Sep 17 00:00:00 2001 From: Alex Graveley Date: Thu, 19 Jul 2001 21:23:57 +0000 Subject: [PATCH] Remove -Werror from WSDL_CFLAGS as this ills on so many redhat distros. 2001-07-19 Alex Graveley * configure.in: Remove -Werror from WSDL_CFLAGS as this ills on so many redhat distros. Remove unused ISO C99 IEEE754 section. Set the default to hide more warnings. * src/soup-wsdl-runtime/wsdl-typecodes.c: Remove \r from end of lines. * src/soup-wsdl/Makefile.am: Formatting. * src/soup-wsdl-runtime/Makefile.am: Formatting. --- ChangeLog | 12 ++++++++++++ configure.in | 47 ++++++++--------------------------------------- 2 files changed, 20 insertions(+), 39 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7108a3f..9cc96ee 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ +2001-07-19 Alex Graveley + + * configure.in: Remove -Werror from WSDL_CFLAGS as this ills on so + many redhat distros. Remove unused ISO C99 IEEE754 section. Set + the default to hide more warnings. + + * src/soup-wsdl-runtime/wsdl-typecodes.c: Remove \r from end of + lines. + + * src/soup-wsdl/Makefile.am: Formatting. + * src/soup-wsdl-runtime/Makefile.am: Formatting. + 2001-07-17 Alex Graveley * src/soup-core/soup-context.c (soup_context_uri_hash): Add diff --git a/configure.in b/configure.in index edd424f..d7eec6a 100644 --- a/configure.in +++ b/configure.in @@ -458,39 +458,6 @@ AC_CHECK_ALIGNOF(gstruct) CPPFLAGS=$orig_CPPFLAGS -dnl *********************************************************************** -dnl *** Add any preprocessor options needed for ISO C99 IEEE754 support *** -dnl *********************************************************************** - -ISO_CFLAGS="" -orig_CPPFLAGS=$CPPFLAGS -AC_MSG_CHECKING(if ISO C99 IEEE754 support is enabled by default) -AC_TRY_COMPILE([ #include ], [ - fpclassify(INFINITY)==FP_INFINITE; - ], [ - dnl Nothing special needed - AC_MSG_RESULT(ok) - ], [ - AC_MSG_RESULT(no) - - dnl On glibc _GNU_SOURCE includes _ISOC99_SOURCE - AC_MSG_CHECKING(whether _GNU_SOURCE is needed for ISO C99 IEEE754 support) - CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE" - AC_TRY_COMPILE([ #include ], [ - fpclassify(INFINITY)==FP_INFINITE; - ], [ - AC_MSG_RESULT(ok) - ISO_CFLAGS="-D_GNU_SOURCE" - ], [ - AC_MSG_RESULT(no) - dnl Add other variants here - AC_MSG_ERROR(No IEEE754 support) - ]) - ]) -CPPFLAGS=$orig_CPPFLAGS -CFLAGS="$CFLAGS $ISO_CFLAGS" - - dnl ************************************* dnl *** Warnings to show if using GCC *** dnl ************************************* @@ -498,20 +465,22 @@ dnl ************************************* AC_ARG_ENABLE(more-warnings, [ --enable-more-warnings Maximum compiler warnings], set_more_warnings="$enableval", - set_more_warnings=yes) + set_more_warnings=no) if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then CFLAGS="$CFLAGS \ - -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes \ - -Wnested-externs -Wpointer-arith" + -Wall -Wstrict-prototypes -Wmissing-declarations \ + -Wmissing-prototypes -Wnested-externs -Wpointer-arith" # -Wredundant-decls warns about libxml headers # -Wwrite-strings warns when defining GDebugKey structs (solved by # casting the strings in wsdl-trace.c and leaving out -Wcast-qual) - WSDL_CFLAGS="-Werror -W -Wundef -Wshadow -Wbad-function-cast -Wcast-align -Wwrite-strings -Wconversion -Waggregate-return -Wmissing-noreturn" -fi + WSDL_CFLAGS="-W -Wundef -Wshadow -Wbad-function-cast \ + -Wcast-align -Wwrite-strings -Wconversion \ + -Waggregate-return -Wmissing-noreturn" -AC_SUBST(WSDL_CFLAGS) + AC_SUBST(WSDL_CFLAGS) +fi # Use reentrant functions CFLAGS="$CFLAGS -D_REENTRANT" -- 2.7.4