[Libreoffice-commits] core.git: solenv/gbuild
Petr Kraus
petr_kraus at email.cz
Fri Apr 19 04:14:00 PDT 2013
solenv/gbuild/platform/com_MSC_defs.mk | 34 ---------------------------------
1 file changed, 34 deletions(-)
New commits:
commit 8dd4db783ffe5a11b5bf427014a2f8524cc87cad
Author: Petr Kraus <petr_kraus at email.cz>
Date: Thu Apr 4 03:42:23 2013 +0200
fdo#42781 Do not unnecessarily ignore MSVC warnings
Removed some ignored warnings for MSVC compiler
that should not occur. MSVC 2010 can, but do not issue these for me.
Some of them are "disabled by default" and should not occur unless -Wall
C warnings: C4180, C4250, C4255, C4275, C4290, C4503, C4511, C4611, C4640
CXX warnings: C4180, C4242, C4265, C4503, C4511, C4626, C4640, C4996
Change-Id: I61b692a9c02a8900f80b019e11ad4acdea3e4dfc
Reviewed-on: https://gerrit.libreoffice.org/3203
Reviewed-by: Fridrich Strba <fridrich at documentfoundation.org>
Tested-by: Fridrich Strba <fridrich at documentfoundation.org>
diff --git a/solenv/gbuild/platform/com_MSC_defs.mk b/solenv/gbuild/platform/com_MSC_defs.mk
index 439afa5..e33f22e 100644
--- a/solenv/gbuild/platform/com_MSC_defs.mk
+++ b/solenv/gbuild/platform/com_MSC_defs.mk
@@ -80,8 +80,6 @@ gb_AFLAGS := $(AFLAGS)
# C4127: conditional expression is constant
-# C4180: qualifier applied to function type has no meaning; ignored
-
# C4189: 'identifier' : local variable is initialized but not referenced
# C4242: 'identifier' : conversion from 'type1' to 'type2', possible
@@ -98,12 +96,6 @@ gb_AFLAGS := $(AFLAGS)
# C4251: 'identifier' : class 'type' needs to have dll-interface to be
# used by clients of class 'type2'
-# C4255: 'function' : no function prototype given: converting '()' to
-# '(void)'
-
-# C4265: 'class' : class has virtual functions, but destructor is not
-# virtual
-
# C4275: non-DLL-interface classkey 'identifier' used as base for
# DLL-interface classkey 'identifier'
@@ -119,13 +111,8 @@ gb_AFLAGS := $(AFLAGS)
# of the compiler did not override when parameters only differed by
# const/volatile qualifiers.
-# C4503: 'identifier' : decorated name length exceeded, name was
-# truncated
-
# C4505: 'function' : unreferenced local function has been removed
-# C4511: 'class' : copy constructor could not be generated
-
# C4512: 'class' : assignment operator could not be generated
# C4611: interaction between 'function' and C++ object destruction is
@@ -134,15 +121,11 @@ gb_AFLAGS := $(AFLAGS)
# C4626: 'derived class' : assignment operator could not be generated
# because a base class assignment operator is inaccessible
-# C4640: 'instance' : construction of local static object is not thread-safe
-
# C4706: assignment within conditional expression
# C4800: 'type' : forcing value to bool 'true' or 'false' (performance
# warning)
-# C4996: 'function': was declared deprecated
-
gb_CFLAGS := \
-Gd \
-GR \
@@ -152,24 +135,15 @@ gb_CFLAGS := \
-nologo \
-W4 \
-wd4127 \
- -wd4180 \
-wd4189 \
-wd4242 \
-wd4244 \
-wd4245 \
- -wd4250 \
-wd4251 \
- -wd4255 \
- -wd4275 \
- -wd4290 \
-wd4355 \
- -wd4503 \
-wd4505 \
- -wd4511 \
-wd4512 \
- -wd4611 \
-wd4626 \
- -wd4640 \
-wd4706 \
-wd4800 \
-Zc:forScope,wchar_t- \
@@ -185,29 +159,21 @@ gb_CXXFLAGS := \
-nologo \
-W4 \
-wd4127 \
- -wd4180 \
-wd4189 \
- -wd4242 \
-wd4244 \
-wd4245 \
-wd4250 \
-wd4251 \
- -wd4265 \
-wd4275 \
-wd4290 \
-wd4351 \
-wd4355 \
-wd4373 \
- -wd4503 \
-wd4505 \
- -wd4511 \
-wd4512 \
-wd4611 \
- -wd4626 \
- -wd4640 \
-wd4706 \
-wd4800 \
- -wd4996 \
-Zc:forScope,wchar_t- \
-Zm500 \
More information about the Libreoffice-commits
mailing list