diff options
author | Jelle van der Waa <jelle@vdwaa.nl> | 2013-12-12 21:42:10 +0100 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2013-12-13 09:07:07 +0000 |
commit | c69b6417af9d03b81813e6d56cdd082d511aef24 (patch) | |
tree | f0ce56a3c925f2a914492a3b1029ed875ea2ec80 /idlc | |
parent | af8191d2fa6bc7fce9020fd75c44c78d87cc1d75 (diff) |
fdo#72598 Remove SunStudio cruft from code base
Change-Id: Ia6799c852eb95d496fbc8dcfdabde62dffc263a6
Reviewed-on: https://gerrit.libreoffice.org/7066
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'idlc')
-rw-r--r-- | idlc/source/parser.y | 4 | ||||
-rw-r--r-- | idlc/source/scanner.l | 2 |
2 files changed, 1 insertions, 5 deletions
diff --git a/idlc/source/parser.y b/idlc/source/parser.y index da3853e3d161..b31cabc09e31 100644 --- a/idlc/source/parser.y +++ b/idlc/source/parser.y @@ -210,9 +210,7 @@ bool includes(AstDeclaration const * type1, AstDeclaration const * type2) { } // Suppress any warnings from generated code: -#if defined __SUNPRO_CC -#pragma disable_warn -#elif defined _MSC_VER +#if defined _MSC_VER #pragma warning(push, 1) #pragma warning(disable: 4273 4701 4702) #endif diff --git a/idlc/source/scanner.l b/idlc/source/scanner.l index ba6f4d6a1016..7519a7b5ab6e 100644 --- a/idlc/source/scanner.l +++ b/idlc/source/scanner.l @@ -246,8 +246,6 @@ static void parseLineAndFile(sal_Char* pBuf) #if HAVE_GCC_PRAGMA_DIAGNOSTIC_MODIFY #pragma GCC diagnostic ignored "-Wunused-function" #pragma GCC diagnostic ignored "-Wunused-label" -#elif defined __SUNPRO_CC -#pragma disable_warn #elif defined _MSC_VER #pragma warning(push, 1) /**/ |