Parcourir la source

Add more gcc warning flags

Wichert Akkerman il y a 25 ans
Parent
commit
61e9d0fdc2
2 fichiers modifiés avec 6 ajouts et 1 suppressions
  1. 5 1
      ChangeLog
  2. 1 0
      configure.in

+ 5 - 1
ChangeLog

@@ -1,3 +1,7 @@
+Mon Mar  5 14:03:49 CET 2001 Wichert Akkerman <wakkerma@debian.org>
+
+  * configure.in: add more warning flags for gcc
+
 Sun Mar 04 21:37:34 CET 2001 peter karlsson <peterk@debian.org>
 
   * po/sv.po, doc/sv/dpkg.8, doc/sv/822-date.1, doc/sv/start-stop-daemon.8:
@@ -26,7 +30,7 @@ Fri Mar  2 17:29:02 CET 2001 Wichert Akkerman <wakkerma@debian.org>
     + document -n option for dpkg-gencontrol
     + fix confusing wording for dpkg-buildpackage -uc option
     + fix layout error for dpkg-distaddfile section
-    + it's DEADJOE, not DEAD_JOEY
+    + it's DEADJOE, not DEAD_JOE
   * scripts/dpkg-architecture.pl:
     + apply cleanup patch from Julian Gilbey
     + modify gcc regexp to recognize gcc versions like 2.96-ia64-000717

+ 1 - 0
configure.in

@@ -162,6 +162,7 @@ DPKG_C_GCC_TRY_WARNS(-Wall -Wno-implicit, dpkg_cv_c_gcc_warn_all)
 DPKG_C_GCC_TRY_WARNS(-Wwrite-strings, dpkg_cv_c_gcc_warn_writestrings)
 DPKG_C_GCC_TRY_WARNS(-Wpointer-arith, dpkg_cv_c_gcc_warn_pointerarith)
 DPKG_C_GCC_TRY_WARNS(-Wimplicit -Wnested-externs, dpkg_cv_c_gcc_warn_implicit)
+DPKG_C_GCC_TRY_WARNS(-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations, dpkg_cv_c_gcc_prototypes)
 AC_SUBST(CWARNS)
 
 dnl Force this here so we can do the next step