[Libreoffice-commits] .: solenv/gbuild solenv/inc
Lubos Lunak
llunak at kemper.freedesktop.org
Fri Mar 25 09:39:57 PDT 2011
solenv/gbuild/platform/unxgcc.mk | 1 +
solenv/inc/unxgcc.mk | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 13b5afa22516a4e5c3ff85adc2077b0d9191b79f
Author: LuboÅ¡ LuÅák <l.lunak at suse.cz>
Date: Fri Mar 25 17:25:00 2011 +0100
enable -Woverloaded-virtual gcc warning
http://lists.freedesktop.org/archives/libreoffice/2011-March/009567.html
diff --git a/solenv/gbuild/platform/unxgcc.mk b/solenv/gbuild/platform/unxgcc.mk
index f37b2b2..3a1a6ee 100755
--- a/solenv/gbuild/platform/unxgcc.mk
+++ b/solenv/gbuild/platform/unxgcc.mk
@@ -68,6 +68,7 @@ gb_CFLAGS := \
-Wendif-labels \
-Wextra \
-Wshadow \
+ -Woverloaded-virtual \
-fPIC \
-fmessage-length=0 \
-fno-common \
diff --git a/solenv/inc/unxgcc.mk b/solenv/inc/unxgcc.mk
index b2e22b9..8dbacfa 100644
--- a/solenv/inc/unxgcc.mk
+++ b/solenv/inc/unxgcc.mk
@@ -133,7 +133,7 @@ CFLAGSOUTOBJ=-o
# -Wshadow does not work for C with nested uses of pthread_cleanup_push:
CFLAGSWARNCC=-Wall -Wextra -Wendif-labels
CFLAGSWARNCXX=$(CFLAGSWARNCC) -Wshadow -Wno-ctor-dtor-privacy \
- -Wno-non-virtual-dtor
+ -Wno-non-virtual-dtor -Woverloaded-virtual
CFLAGSWALLCC=$(CFLAGSWARNCC)
CFLAGSWALLCXX=$(CFLAGSWARNCXX)
CFLAGSWERRCC=-Werror
More information about the Libreoffice-commits
mailing list