[Libreoffice-commits] .: 2 commits - solenv/inc
Caolán McNamara
caolan at kemper.freedesktop.org
Wed Dec 8 04:19:28 PST 2010
solenv/inc/unxgcc.mk | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
New commits:
commit 67011be61683a37c9b79710c7c3a7ddd91268938
Author: Caolán McNamara <caolanm at redhat.com>
Date: Wed Dec 8 12:18:43 2010 +0000
add -Wno-deprecated-declarations to avoid warnings about std::auto_ptr
diff --git a/solenv/inc/unxgcc.mk b/solenv/inc/unxgcc.mk
index 2c0ba68..5fce36e 100644
--- a/solenv/inc/unxgcc.mk
+++ b/solenv/inc/unxgcc.mk
@@ -93,7 +93,7 @@ CFLAGSCXX= -pipe $(ARCH_FLAGS)
CFLAGSCXX+=-fvisibility-inlines-hidden
.ENDIF # "$(HAVE_GCC_VISIBILITY_FEATURE)" == "TRUE"
.IF "$(HAVE_CXX0X)" == "TRUE"
-CFLAGSCXX+=-std=c++0x
+CFLAGSCXX+=-std=c++0x -Wno-deprecated-declarations
.ENDIF # "$(HAVE_CXX0X)" == "TRUE"
CFLAGS_CREATE_PCH=-x c++-header -I$(INCPCH) -DPRECOMPILED_HEADERS
commit 66f410dd081ace659cec6dcd65683a9e007781f9
Author: Caolán McNamara <caolanm at redhat.com>
Date: Wed Dec 8 10:30:18 2010 +0000
Use c++0x features to detect misuse of SAL_N_ELEMENTS and CONSTASCII
diff --git a/solenv/inc/unxgcc.mk b/solenv/inc/unxgcc.mk
index 78b14fc..2c0ba68 100644
--- a/solenv/inc/unxgcc.mk
+++ b/solenv/inc/unxgcc.mk
@@ -90,8 +90,11 @@ CFLAGS_NO_EXCEPTIONS=-fno-exceptions
# -fpermissive should be removed as soon as possible
CFLAGSCXX= -pipe $(ARCH_FLAGS)
.IF "$(HAVE_GCC_VISIBILITY_FEATURE)" == "TRUE" && "$(HAVE_GCC_VISIBILITY_BROKEN)" != "TRUE"
-CFLAGSCXX += -fvisibility-inlines-hidden
+CFLAGSCXX+=-fvisibility-inlines-hidden
.ENDIF # "$(HAVE_GCC_VISIBILITY_FEATURE)" == "TRUE"
+.IF "$(HAVE_CXX0X)" == "TRUE"
+CFLAGSCXX+=-std=c++0x
+.ENDIF # "$(HAVE_CXX0X)" == "TRUE"
CFLAGS_CREATE_PCH=-x c++-header -I$(INCPCH) -DPRECOMPILED_HEADERS
CFLAGS_USE_PCH=-I$(SLO)$/pch -DPRECOMPILED_HEADERS -Winvalid-pch
More information about the Libreoffice-commits
mailing list