[Libreoffice-commits] .: rsc/source

Norbert Thiebaud nthiebaud at kemper.freedesktop.org
Fri Aug 19 19:10:34 PDT 2011


 rsc/source/parser/rscyacc.y |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 9e29ce41204823fd1108202ed5b7b80e0c1aba11
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date:   Fri Aug 19 21:10:25 2011 -0500

    WaE: MACOS gcc is too old for that pragma

diff --git a/rsc/source/parser/rscyacc.y b/rsc/source/parser/rscyacc.y
index 3477fdc..a225b5f 100644
--- a/rsc/source/parser/rscyacc.y
+++ b/rsc/source/parser/rscyacc.y
@@ -264,7 +264,9 @@ RSCINST GetFirstTupelEle( const RSCINST & rTop )
 #pragma warning(disable:4129 4273 4701 4702)
 #endif
 #if defined __GNUC__
+#ifndef MACOSX
 #pragma GCC diagnostic ignored "-Wwrite-strings"
+#endif
 #elif defined __SUNPRO_CC
 #pragma disable_warn
 #endif


More information about the Libreoffice-commits mailing list