Disable all inline warnings on gcc >= 4.3. Not sure exactly where the
cutover is, but we need better tools to cope with inline tuning per compiler version than we have. This is a quick bandaid until such tools are around.
This commit is contained in:
parent
cb09fe3c33
commit
cffc99a418
@ -32,6 +32,10 @@ CWARNEXTRA?= -Wno-error-tautological-compare -Wno-error-empty-body \
|
||||
-Wno-error-parentheses-equality -Wno-error-unused-function
|
||||
.endif
|
||||
|
||||
.if ${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} >= 40300
|
||||
CWARNEXTRA?= -Wno-inline
|
||||
.endif
|
||||
|
||||
# External compilers may not support our format extensions. Allow them
|
||||
# to be disabled. WARNING: format checking is disabled in this case.
|
||||
.if ${MK_FORMAT_EXTENSIONS} == "no"
|
||||
|
Loading…
Reference in New Issue
Block a user