[Libreoffice-commits] .: solenv/gbuild

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Mon Jan 21 07:55:31 PST 2013


 solenv/gbuild/platform/solaris.mk |    1 -
 solenv/gbuild/platform/unxgcc.mk  |    1 -
 2 files changed, 2 deletions(-)

New commits:
commit 488823a140217e393298bc83e75084041a85ed45
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Jan 21 16:52:06 2013 +0100

    Remove -Wsign-promo
    
    ...to avoid unhelpful "passing [enum] chooses 'int' over 'unsigned int'"
    warnings from those new calls to rtl::OUString::number as introduced with
    63bcb139b941a2eff1b5ad367046bca067e7d1f8 "Replaced O[U]String::valueOf(
    static_cast<> ) with O[U]String::number()."
    
    Change-Id: I2adb16e83865bd4cba4a1650eb54bb7f5cee31e0

diff --git a/solenv/gbuild/platform/solaris.mk b/solenv/gbuild/platform/solaris.mk
index 1ae3f3c..67c5e88 100644
--- a/solenv/gbuild/platform/solaris.mk
+++ b/solenv/gbuild/platform/solaris.mk
@@ -69,7 +69,6 @@ gb_CXXFLAGS := \
 	$(gb_CXXFLAGS_COMMON) \
 	-fPIC \
 	-Wshadow \
-	-Wsign-promo \
 	-Woverloaded-virtual \
 	-Wno-non-virtual-dtor \
 
diff --git a/solenv/gbuild/platform/unxgcc.mk b/solenv/gbuild/platform/unxgcc.mk
index eaa567e..5f1eb80 100644
--- a/solenv/gbuild/platform/unxgcc.mk
+++ b/solenv/gbuild/platform/unxgcc.mk
@@ -54,7 +54,6 @@ gb_CXXFLAGS := \
 	$(gb_CXXFLAGS_COMMON) \
 	-fPIC \
 	-Wshadow \
-	-Wsign-promo \
 	-Woverloaded-virtual \
 
 ifneq ($(COM_GCC_IS_CLANG),TRUE)


More information about the Libreoffice-commits mailing list