mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-04-19 00:43:16 +03:00
Compile with -Wshorten-64-to-32.
This will prevent accidental creation of potential integer truncation bugs when developing on LP64 systems.
This commit is contained in:
parent
9e1810ca9d
commit
b3d0070b14
1 changed files with 1 additions and 0 deletions
|
|
@ -140,6 +140,7 @@ if test "x$CFLAGS" = "x" ; then
|
|||
fi
|
||||
JE_CFLAGS_APPEND([-Wall])
|
||||
JE_CFLAGS_APPEND([-Werror=declaration-after-statement])
|
||||
JE_CFLAGS_APPEND([-Wshorten-64-to-32])
|
||||
JE_CFLAGS_APPEND([-pipe])
|
||||
JE_CFLAGS_APPEND([-g3])
|
||||
elif test "x$je_cv_msvc" = "xyes" ; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue