mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-04 02:18:37 +00:00
Add -Wempty-body to the list of compile flags.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15319
This commit is contained in:
parent
a727bec9cb
commit
2de98199b0
@ -108,6 +108,7 @@ AM_CFLAGS_BASE = \
|
||||
-Wmissing-declarations \
|
||||
@FLAG_W_CAST_QUAL@ \
|
||||
@FLAG_W_WRITE_STRINGS@ \
|
||||
@FLAG_W_EMPTY_BODY@ \
|
||||
@FLAG_W_FORMAT@ \
|
||||
@FLAG_W_FORMAT_SECURITY@ \
|
||||
@FLAG_W_IGNORED_QUALIFIERS@ \
|
||||
|
||||
@ -1756,6 +1756,7 @@ AC_GCC_WARNING_SUBST_NO([uninitialized], [FLAG_W_NO_UNINITIALIZED])
|
||||
AC_GCC_WARNING_SUBST_NO([unused-function], [FLAG_W_NO_UNUSED_FUNCTION])
|
||||
AC_GCC_WARNING_SUBST_NO([static-local-in-inline], [FLAG_W_NO_STATIC_LOCAL_IN_INLINE])
|
||||
AC_GCC_WARNING_SUBST([write-strings], [FLAG_W_WRITE_STRINGS])
|
||||
AC_GCC_WARNING_SUBST([empty-body], [FLAG_W_EMPTY_BODY])
|
||||
AC_GCC_WARNING_SUBST([format], [FLAG_W_FORMAT])
|
||||
AC_GCC_WARNING_SUBST([format-security], [FLAG_W_FORMAT_SECURITY])
|
||||
AC_GCC_WARNING_SUBST([cast-qual], [FLAG_W_CAST_QUAL])
|
||||
|
||||
@ -411,8 +411,9 @@ static void complaints_stack_switch (Addr old_SP, Addr new_SP)
|
||||
(void *) current_stack->end, \
|
||||
current_stack->id); \
|
||||
return; \
|
||||
} else \
|
||||
} else { \
|
||||
EDEBUG("new current_stack not found\n"); \
|
||||
} \
|
||||
}
|
||||
|
||||
#define IF_BIG_DELTA_complaints_AND_RETURN \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user