]> git.saurik.com Git - wxWidgets.git/commitdiff
Compile improvemnts for strict compilers and the like
authorRobert Roebling <robert@roebling.de>
Thu, 7 Jan 1999 17:20:10 +0000 (17:20 +0000)
committerRobert Roebling <robert@roebling.de>
Thu, 7 Jan 1999 17:20:10 +0000 (17:20 +0000)
  Down to two warning messages for egcs compile

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

configure
configure.in

index 183914e022aeea799b90c24fe9c1da5b82ce175c..b4490d25186a45f6ff35bc1bda0e4794133ebb07 100755 (executable)
--- a/configure
+++ b/configure
@@ -6653,14 +6653,14 @@ EOF
 esac
 
 if test "x$GCC" = xyes; then
-  CFLAGS="${CFLAGS} -Wall"
+  CFLAGS="${CFLAGS} -Wall -Wno-unused -Wno-uninitialized -D_REENTRANT -DLEX_SCANNER"
 fi
 
 if test "x$GXX" = xyes; then
   if test "$wxUSE_MOTIF" = 1; then
-    CXXFLAGS="${CXXFLAGS} -Wall -Wno-unused"
+    CXXFLAGS="${CXXFLAGS} -Wall -Wno-unused -D_REENTRANT"
   else
-    CXXFLAGS="${CXXFLAGS} -Wall"
+    CXXFLAGS="${CXXFLAGS} -Wall -D_REENTRANT"
   fi
 fi
 
index d1b8bf3462464f4410ac8e71b3a0cde5b7c84c05..419be3c0b66b72a2f1c696becb3814284388d0e6 100644 (file)
@@ -1397,14 +1397,14 @@ case "${canonical}" in
 esac
 
 if test "x$GCC" = xyes; then
-  CFLAGS="${CFLAGS} -Wall"
+  CFLAGS="${CFLAGS} -Wall -Wno-unused -Wno-uninitialized -D_REENTRANT -DLEX_SCANNER"
 fi
 
 if test "x$GXX" = xyes; then
   if test "$wxUSE_MOTIF" = 1; then
-    CXXFLAGS="${CXXFLAGS} -Wall -Wno-unused"
+    CXXFLAGS="${CXXFLAGS} -Wall -Wno-unused -D_REENTRANT"
   else
-    CXXFLAGS="${CXXFLAGS} -Wall"
+    CXXFLAGS="${CXXFLAGS} -Wall -D_REENTRANT"
   fi
 fi