# HG changeset patch # User Henry Wilson # Date 2019-03-24 12:35:19 # Node ID 661d21df67d77383e548ab608f13414bac5496c5 # Parent cc62b7a1b2d52ece4f73c54b958b610f480d7331 Cleanup: Stop OSX compilation complaining about C++11 extensions diff --git a/config.lib b/config.lib --- 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: 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"