[Libreoffice-commits] .: idlc/source

Christian Lohmaier cloph at kemper.freedesktop.org
Sun May 6 12:02:50 PDT 2012


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

New commits:
commit 34513fe619aee112b11a0a90dc2e981dccdb408e
Author: Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>
Date:   Sun May 6 21:00:11 2012 +0200

    WaE: avoid build break on Mac PPC/XCode 2.5
    
    otherwise breaks with
    /usr/share/bison.simple: In function ´int yyparse()´:
    /usr/share/bison.simple:614: warning: comparison between signed and unsigned integer expressions
    /usr/share/bison.simple:626: warning: comparison between signed and unsigned integer expressions

diff --git a/idlc/source/parser.y b/idlc/source/parser.y
index acaf5c1..79c9ac4 100644
--- a/idlc/source/parser.y
+++ b/idlc/source/parser.y
@@ -106,7 +106,9 @@
 
 
 #define YYDEBUG 1
+#if !(defined MACOSX && defined PPC)
 #define YYERROR_VERBOSE 1
+#endif
 
 using ::rtl::OUString;
 using ::rtl::OString;


More information about the Libreoffice-commits mailing list