mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-11-27 08:10:07 +08:00
configure.in: promote some C warnings to errors
Promote some C warnings to errors, especially ones relating to missing prototypes. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
This commit is contained in:
parent
4de7a764d5
commit
236f7949e4
11
configure.in
11
configure.in
@ -65,6 +65,17 @@ PA_ADD_CFLAGS([-W])
|
||||
PA_ADD_CFLAGS([-Wall])
|
||||
PA_ADD_CFLAGS([-std=c99])
|
||||
PA_ADD_CFLAGS([-pedantic])
|
||||
PA_ADD_CFLAGS([-Werror=implicit])
|
||||
PA_ADD_CFLAGS([-Werror=missing-braces])
|
||||
PA_ADD_CFLAGS([-Werror=return-type])
|
||||
PA_ADD_CFLAGS([-Werror=trigraphs])
|
||||
PA_ADD_CFLAGS([-Werror=trigraphs])
|
||||
PA_ADD_CFLAGS([-Werror=pointer-arith])
|
||||
PA_ADD_CFLAGS([-Werror=strict-prototypes])
|
||||
PA_ADD_CFLAGS([-Werror=missing-prototypes])
|
||||
PA_ADD_CFLAGS([-Werror=missing-declarations])
|
||||
PA_ADD_CFLAGS([-Werror=comment])
|
||||
PA_ADD_CFLAGS([-Werror=vla])
|
||||
|
||||
dnl Look for programs...
|
||||
AC_CHECK_PROGS(NROFF, nroff, false)
|
||||
|
Loading…
Reference in New Issue
Block a user