mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-22 04:03:11 +00:00
Disable some spuriously-triggering warnings
This commit is contained in:
committed by
David Goldblatt
parent
a70909b130
commit
1b1e76acfe
@@ -250,6 +250,11 @@ if test "x$GCC" = "xyes" ; then
|
||||
JE_CFLAGS_ADD([-Wsign-compare])
|
||||
JE_CFLAGS_ADD([-Wundef])
|
||||
JE_CFLAGS_ADD([-Wno-format-zero-length])
|
||||
dnl This warning triggers on the use of the universal zero initializer, which
|
||||
dnl is a very handy idiom for things like the tcache static initializer (which
|
||||
dnl has lots of nested structs). See the discussion at.
|
||||
dnl https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53119
|
||||
JE_CFLAGS_ADD([-Wno-missing-braces])
|
||||
JE_CFLAGS_ADD([-pipe])
|
||||
JE_CFLAGS_ADD([-g3])
|
||||
elif test "x$je_cv_msvc" = "xyes" ; then
|
||||
|
||||
Reference in New Issue
Block a user