diff options
author | Henry Wilson <m3henry@googlemail.com> | 2019-03-24 12:35:19 +0000 |
---|---|---|
committer | Michael Lutz <michi@icosahedron.de> | 2019-03-24 16:10:04 +0100 |
commit | 31260e66252fb4d0dda6f992520faeeb96929cfe (patch) | |
tree | ffa8cf64b5bdca5f053cf5b53d19303f9bf26b6e | |
parent | 685f822c63d642372157895f3975c5ac25546c40 (diff) | |
download | openttd-31260e66252fb4d0dda6f992520faeeb96929cfe.tar.xz |
Cleanup: Stop OSX compilation complaining about C++11 extensions
-rw-r--r-- | config.lib | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config.lib b/config.lib index 026f7bfb3..f65aaa535 100644 --- a/config.lib +++ b/config.lib @@ -1321,6 +1321,9 @@ make_compiler_cflags() { # it happens when using the FOR_ALL_WINDOWS_FROM_BACK_FROM macro flags="$flags -Wno-self-assign" + # warning: <something> is a C++11 extension + flags="$flags -Wno-c++11-extensions" + if [ "$cc_version" -lt "30" ]; then # warning: equality comparison with extraneous parentheses flags="$flags -Wno-parentheses" |