Skip to content

Commit fdf950b

Browse files
committed
configure: Don't use -Wno-uninitialized for debug builds
There is no good reason to suppress useful compiler warnings. Signed-off-by: Stefan Weil <[email protected]>
1 parent 7f8bd11 commit fdf950b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

configure.ac

+2-2
Original file line numberDiff line numberDiff line change
@@ -294,8 +294,8 @@ AC_ARG_ENABLE([debug],
294294
[debug="no"])
295295
AC_MSG_RESULT([$debug])
296296
if test x"$debug" = x"yes"; then
297-
AM_CXXFLAGS="$AM_CXXFLAGS -g -Wall -Wno-uninitialized -O0 -DDEBUG"
298-
AM_CPPFLAGS="$AM_CPPFLAGS -g -Wall -Wno-uninitialized -O0 -DDEBUG"
297+
AM_CXXFLAGS="$AM_CXXFLAGS -g -Wall -O0 -DDEBUG"
298+
AM_CPPFLAGS="$AM_CPPFLAGS -g -Wall -O0 -DDEBUG"
299299
else
300300
AM_CXXFLAGS="$AM_CXXFLAGS -O2 -DNDEBUG"
301301
AM_CPPFLAGS="$AM_CPPFLAGS -O2 -DNDEBUG"

0 commit comments

Comments
 (0)