mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-22 04:03:11 +00: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user