Fwd: Re: [PATCH][REVIEW] gbuild conversion: idlc module -- problem with --enable-werror

Stephan Bergmann sbergman at redhat.com
Fri Apr 13 03:41:10 PDT 2012


On 04/13/2012 11:26 AM, David Ostrovsky wrote:
> C++ error is about bison generated parser:
>
> idlc/source/parser.y:261:13: Fehler: #pragma system_header außerhalb
> include-Datei ignoriert [-Werror]
> source/parser.y: In Funktion »int yyparse()«:
> source/parser.y:604:65: Fehler: Um Zuweisung, die als Wahrheitswert
> verwendet wird, werden Klammern empfohlen [-Werror=parentheses]

See "Code generated by flex or bison" item at 
<http://wiki.services.openoffice.org/wiki/Writing_warning-free_code#When_all_else_fails>. 
  That's why there is idlc/source/wrap_parser.cxx.

(And consider compiling in a POSIX locale, so that we do not need to see 
those ugly German error messages.)  ;)


More information about the LibreOffice mailing list