Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


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.) ;)

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.