[Libreoffice-commits] core.git: solenv/gbuild
Stephan Bergmann
sbergman at redhat.com
Mon May 11 00:00:57 PDT 2015
solenv/gbuild/platform/macosx.mk | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 80244bff5f1fb5cad4638ed0b661f0c0f7776b07
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Mon May 11 08:58:50 2015 +0200
-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
diff --git a/solenv/gbuild/platform/macosx.mk b/solenv/gbuild/platform/macosx.mk
index ff3994b..27e0a91 100644
--- a/solenv/gbuild/platform/macosx.mk
+++ b/solenv/gbuild/platform/macosx.mk
@@ -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
More information about the Libreoffice-commits
mailing list