mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-16 21:34:10 +00:00
Implement NO_WCAST_QUAL for gcc4.2 architectures
This commit is contained in:
parent
b3995bb872
commit
0a646b9715
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=330791
|
@ -68,6 +68,9 @@ CWARNEXTRA+= -Wno-error=misleading-indentation \
|
|||
.else
|
||||
# For gcc 4.2, eliminate the too-often-wrong warnings about uninitialized vars.
|
||||
CWARNEXTRA?= -Wno-uninitialized
|
||||
# GCC 4.2 doesn't have -Wno-error=cast-qual, so just disable the warning for
|
||||
# the few files that are already known to generate cast-qual warnings.
|
||||
NO_WCAST_QUAL= -Wno-cast-qual
|
||||
.endif
|
||||
.endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue