mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-02-23 17:29:23 +08:00
configure.in: disable -Wwrite-strings for now
At the moment, NASM is not clean with -Wwrite-strings due to passing string constants to functions that under some conditions modify their arguments. This is problematic if nothing else for guaranteeing correctness, but will take some work to remedy. In the meantime, disable -Wwrite-strings. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
This commit is contained in:
parent
83df633f07
commit
cfd56ebb81
@ -193,7 +193,7 @@ dnl Suppress format warning on Windows targets due to their <inttypes.h>
|
||||
PA_ADD_CFLAGS([-Wpedantic-ms-format],[-Wno-pedantic-ms-format])
|
||||
PA_ADD_CFLAGS([-Wc90-c99-compat])
|
||||
PA_ADD_CFLAGS([-Wlong-long],[-Wno-long-long])
|
||||
PA_ADD_CFLAGS([-Wwrite-strings])
|
||||
dnl PA_ADD_CFLAGS([-Wwrite-strings])
|
||||
AC_ARG_ENABLE([werror],
|
||||
[AC_HELP_STRING([--enable-werror],
|
||||
[compile with -Werror to error out on any warning])],
|
||||
|
Loading…
Reference in New Issue
Block a user