mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-04-14 14:41:42 +03:00
Disable some spuriously-triggering warnings
This commit is contained in:
parent
a70909b130
commit
1b1e76acfe
3 changed files with 22 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue