Skip to content
Permalink
Browse files

Cleanup: Stop OSX compilation complaining about C++11 extensions

  • Loading branch information...
M3Henry authored and michicc committed Mar 24, 2019
1 parent 685f822 commit 31260e66252fb4d0dda6f992520faeeb96929cfe
Showing with 3 additions and 0 deletions.
  1. +3 −0 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"

0 comments on commit 31260e6

Please sign in to comment.
You can’t perform that action at this time.