Kaydet (Commit) 80244bff authored tarafından Stephan Bergmann's avatar Stephan Bergmann

-Wshadow appears to work now on Mac OS X

...at least in my build against the 10.9 SDK.  (Though Clang apparently emits
far fewer shadowing warnings than other compilers, anyway.)

Change-Id: I1f1e2ef693c3bd0846d85a3f72f32a8610f46194
üst 3a298c37
......@@ -44,18 +44,18 @@ gb_CFLAGS := \
$(gb_CFLAGS_COMMON) \
-fPIC \
-fno-strict-aliasing \
#-Wshadow \ break in compiler headers already
-Wshadow
gb_CXXFLAGS := \
$(gb_CXXFLAGS_COMMON) \
-fPIC \
-Woverloaded-virtual \
-Wshadow \
-Wno-ctor-dtor-privacy \
-fno-strict-aliasing \
-fsigned-char \
$(CXXFLAGS_CXX11)
#-Wshadow \ break in compiler headers already
#-fsigned-char \ might be removed?
# these are to get g++ to switch to Objective-C++ mode
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment