Kaydet (Commit) e9073ead authored tarafından Mike Kaganski's avatar Mike Kaganski

idlc: MSVC: pragma warning: make more specific, remove obsolete

Change-Id: I0fbba0c1b12f9ade703ceee477dae4056fe9d31e
Reviewed-on: https://gerrit.libreoffice.org/48994Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarMike Kaganski <mike.kaganski@collabora.com>
üst 8e07fb35
......@@ -39,10 +39,6 @@ class AstScope;
AstDeclaration* scopeAsDecl(AstScope* pScope);
AstScope* declAsScope(AstDeclaration* pDecl);
#ifdef _MSC_VER
#pragma warning( disable : 4541 )
#endif
// flags used for attributes, properties and services
#define AF_INVALID 0x0000
#define AF_READONLY 0x0001
......
......@@ -208,8 +208,7 @@ bool includes(AstDeclaration const * type1, AstDeclaration const * type2) {
// Suppress any warnings from generated code:
#if defined _MSC_VER
#pragma warning(push, 1)
#pragma warning(disable: 4273 4701 4702)
#pragma warning(disable: 4702) // unreachable code
#endif
%}
/*
......
......@@ -252,7 +252,6 @@ static void parseLineAndFile(sal_Char* pBuf)
#pragma GCC diagnostic ignored "-Wunused-function"
#pragma GCC diagnostic ignored "-Wunused-label"
#elif defined _MSC_VER
#pragma warning(push, 1)
/**/
#ifdef yywrap
#undef yywrap
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment