Quellcode durchsuchen

build: reduce strict overflow warnings, they’re a bit too verbose.

undefined
Sam Hocevar vor 12 Jahren
Ursprung
Commit
a72a7e39bc
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  1. +1
    -0
      configure.ac

+ 1
- 0
configure.ac Datei anzeigen

@@ -207,6 +207,7 @@ LOL_TRY_CXXFLAGS(-Wcast-align, [AM_CPPFLAGS="${AM_CPPFLAGS} -Wcast-align"])
LOL_TRY_CXXFLAGS(-Wcast-qual, [AM_CPPFLAGS="${AM_CPPFLAGS} -Wcast-qual"]) LOL_TRY_CXXFLAGS(-Wcast-qual, [AM_CPPFLAGS="${AM_CPPFLAGS} -Wcast-qual"])
LOL_TRY_CXXFLAGS(-Wshadow, [AM_CPPFLAGS="${AM_CPPFLAGS} -Wshadow"]) LOL_TRY_CXXFLAGS(-Wshadow, [AM_CPPFLAGS="${AM_CPPFLAGS} -Wshadow"])
LOL_TRY_CXXFLAGS(-Wsign-compare, [AM_CPPFLAGS="${AM_CPPFLAGS} -Wsign-compare"]) LOL_TRY_CXXFLAGS(-Wsign-compare, [AM_CPPFLAGS="${AM_CPPFLAGS} -Wsign-compare"])
LOL_TRY_CXXFLAGS(-Wstrict-overflow=1, [AM_CPPFLAGS="${AM_CPPFLAGS} -Wstrict-overflow=1"])


dnl Add these even though they're implicitly set, so that we can safely dnl Add these even though they're implicitly set, so that we can safely
dnl remove them from within a Makefile. dnl remove them from within a Makefile.


Laden…
Abbrechen
Speichern