2694d43b05
The additional warnings are causing compile errors on gcc version 4.1.2 as a host compiler. cc -c -Wall -Wdeclaration-after-statement -Wpointer-arith -Wpointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wmissing-prototypes -Wdeclaration-after-statement -Wempty-body -Wmissing-parameter-type -Wold-style-declaration -Wold- style-definition -Wformat-nonliteral -I. -I. -I./../../include filter_host.c cc1: error: unrecognized command line option "-Wempty-body" cc1: error: unrecognized command line option "-Wmissing-parameter-type" cc1: error: unrecognized command line option "-Wold-style-declaration" cc1: error: unrecognized command line option "-Wempty-body" cc1: error: unrecognized command line option "-Wmissing-parameter-type" cc1: error: unrecognized command line option "-Wold-style-declaration" Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
16 lines
616 B
Diff
16 lines
616 B
Diff
# The additional warnings are causing compile errors on gcc version 4.1.2 as
|
|
# a host compiler.
|
|
|
|
--- a/sim/igen/configure
|
|
+++ b/sim/igen/configure
|
|
@@ -4768,8 +4768,8 @@ build_warnings="-Wall -Wdeclaration-afte
|
|
-Wpointer-sign \
|
|
-Wno-unused -Wunused-value -Wunused-function \
|
|
-Wno-switch -Wno-char-subscripts -Wmissing-prototypes
|
|
--Wdeclaration-after-statement -Wempty-body -Wmissing-parameter-type \
|
|
--Wold-style-declaration -Wold-style-definition"
|
|
+-Wdeclaration-after-statement \
|
|
+-Wold-style-definition"
|
|
|
|
# Enable -Wno-format by default when using gcc on mingw since many
|
|
# GCC versions complain about %I64.
|