[Libreoffice] bison 2.5 breaks build process

Andreas Radke a.radke at arcor.de
Wed May 18 06:22:35 PDT 2011


Since bison 2.5 update I get this build break with 3.4rc1:

In file included from /build/src/build/connectivity/source/parse/wrap_sqlbison.cxx:32:0:
../../unxlngx6.pro/misc/sqlbison.cxx: In function 'int SQLyyparse()':
../../unxlngx6.pro/misc/sqlbison.cxx:7814:9: error: invalid conversion from 'const char*' to 'sal_Char*' [-fpermissive]
../../inc/connectivity/sqlparse.hxx:235:14: error:   initializing
argument 1 of 'void connectivity::OSQLParser::error(sal_Char*)' [-fpermissive]

Afaik this can be fixed with adding -fpermissive to the CXXFLAGS.
But is this the proper fix?

-Andy


More information about the LibreOffice mailing list