Skip to content

Commit 764e177

Browse files
committed
Remove the -Wno-unused-function hider. Should be able to fix these with this method if any more crop up on Linux.
1 parent ea549ab commit 764e177

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

configure.ac

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ fi
251251

252252
if test "$fs2_debug" = "yes" ; then
253253
AC_DEFINE([_DEBUG])
254-
D_CFLAGS="$D_CFLAGS -O0 -g -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-write-strings -Wshadow -funroll-loops"
254+
D_CFLAGS="$D_CFLAGS -O0 -g -Wall -Wextra -Wno-unused-parameter -Wno-write-strings -Wshadow -funroll-loops"
255255
D_LDFLAGS="$D_LDFLAGS -g"
256256

257257
if test "$fs2_fred" = "yes" ; then
@@ -262,7 +262,7 @@ if test "$fs2_debug" = "yes" ; then
262262
else
263263
AC_DEFINE([NDEBUG])
264264
D_CFLAGS="$D_CFLAGS -O2 -Wall -funroll-loops"
265-
D_CFLAGS="$D_CFLAGS -Wno-unused-function -Wno-write-strings -Wno-unused-variable"
265+
D_CFLAGS="$D_CFLAGS -Wno-write-strings -Wno-unused-variable"
266266

267267
AC_C_COMPILE_FLAGS([-Wno-unused-but-set-variable])
268268

0 commit comments

Comments
 (0)