[Libreoffice-commits] .: idlc/source

Caolán McNamara caolan at kemper.freedesktop.org
Fri Apr 13 05:28:26 PDT 2012


 idlc/source/parser.y |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

New commits:
commit 2273ce95c7a3522757378e96fd65cf380dc790cd
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Apr 13 13:28:22 2012 +0100

    WaE: don't seem to need this pragma

diff --git a/idlc/source/parser.y b/idlc/source/parser.y
index bedf2e9..acaf5c1 100644
--- a/idlc/source/parser.y
+++ b/idlc/source/parser.y
@@ -257,9 +257,7 @@ bool includes(AstDeclaration const * type1, AstDeclaration const * type2) {
 }
 
 // Suppress any warnings from generated code:
-#if defined __GNUC__
-#pragma GCC system_header
-#elif defined __SUNPRO_CC
+#if defined __SUNPRO_CC
 #pragma disable_warn
 #elif defined _MSC_VER
 #pragma warning(push, 1)


More information about the Libreoffice-commits mailing list