mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
Temporarily add 'WITH_GCC3' that removes -Wno-pointer-sign from the
compiler invocation. This is just to help get over the hump of people tracking down bugs that may cross the GCC 4.2 upgrade. It is envisioned that this option goes away after a suitable amount of time.
This commit is contained in:
parent
887ecc8d53
commit
9eef6e338b
2 changed files with 6 additions and 1 deletions
|
|
@ -54,7 +54,9 @@ CWARNFLAGS += -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls
|
|||
# XXX always get it right.
|
||||
CWARNFLAGS += -Wno-uninitialized
|
||||
. endif
|
||||
. if !defined(WITH_GCC3)
|
||||
CWARNFLAGS += -Wno-pointer-sign
|
||||
. endif
|
||||
. endif
|
||||
|
||||
. if defined(FORMAT_AUDIT)
|
||||
|
|
|
|||
|
|
@ -12,7 +12,10 @@ CWARNFLAGS=
|
|||
.else
|
||||
CWARNFLAGS?= -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes \
|
||||
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual \
|
||||
${_wundef} -Wno-pointer-sign -fformat-extensions
|
||||
${_wundef} ${_Wno_pointer_sign} -fformat-extensions
|
||||
.if !defined(WITH_GCC3)
|
||||
_Wno_pointer_sign=-Wno-pointer-sign
|
||||
.endif
|
||||
.if !defined(NO_UNDEF)
|
||||
_wundef= -Wundef
|
||||
.endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue