mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-07-10 22:34:10 +01:00
Cleanup: Stop OSX compilation complaining about C++11 extensions
This commit is contained in:
parent
685f822c63
commit
31260e6625
@ -1321,6 +1321,9 @@ make_compiler_cflags() {
|
|||||||
# it happens when using the FOR_ALL_WINDOWS_FROM_BACK_FROM macro
|
# it happens when using the FOR_ALL_WINDOWS_FROM_BACK_FROM macro
|
||||||
flags="$flags -Wno-self-assign"
|
flags="$flags -Wno-self-assign"
|
||||||
|
|
||||||
|
# warning: <something> is a C++11 extension
|
||||||
|
flags="$flags -Wno-c++11-extensions"
|
||||||
|
|
||||||
if [ "$cc_version" -lt "30" ]; then
|
if [ "$cc_version" -lt "30" ]; then
|
||||||
# warning: equality comparison with extraneous parentheses
|
# warning: equality comparison with extraneous parentheses
|
||||||
flags="$flags -Wno-parentheses"
|
flags="$flags -Wno-parentheses"
|
||||||
|
Loading…
Reference in New Issue
Block a user