summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Kraus <petr_kraus@email.cz>2013-04-04 03:42:23 +0200
committerFridrich Strba <fridrich@documentfoundation.org>2013-04-19 11:13:42 +0000
commit8dd4db783ffe5a11b5bf427014a2f8524cc87cad (patch)
treeb3e6b492ed4bfd9865989f9dca689f76b08ea504
parent01af5efbbb8a27c627bb061b8399fb18b6519247 (diff)
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@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
-rw-r--r--solenv/gbuild/platform/com_MSC_defs.mk34
1 files changed, 0 insertions, 34 deletions
diff --git a/solenv/gbuild/platform/com_MSC_defs.mk b/solenv/gbuild/platform/com_MSC_defs.mk
index 439afa51feaf..e33f22e71eb8 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 \