From: nasm-bot f. H. P. A. <hp...@zy...> - 2016-03-07 19:51:17
|
Commit-ID: cfd56ebb81fee0d310b2bc673625fca53536a4e0 Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=cfd56ebb81fee0d310b2bc673625fca53536a4e0 Author: H. Peter Anvin <hp...@zy...> AuthorDate: Sun, 6 Mar 2016 21:44:14 -0800 Committer: H. Peter Anvin <hp...@zy...> CommitDate: Sun, 6 Mar 2016 21:44:14 -0800 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 <hp...@zy...> --- configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 82602c7..b7057c9 100644 --- a/configure.in +++ b/configure.in @@ -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])], |