PATCH build errors on Ubuntu 10.04

Gert van Valkenhoef g.h.m.van.valkenhoef at rug.nl
Sun Feb 5 10:05:08 PST 2012


Dear LibreOffice developers,

I've checked out the LibreOffice git repository and followed the build 
instructions. This revealed two problems:

1) Compile error in l10ntools/source/lngex.cxx (see below)
2) There is no build-dep on doxygen (ppa libreoffice), but LibreOffice 
won't build without it

The compile error:

Compiling: l10ntools/source/lngex.cxx
/home/gert/tmp/libreoffice-core/l10ntools/source/lngex.cxx: In function 
'sal_Bool ParseCommandLine(int, char**)':
/home/gert/tmp/libreoffice-core/l10ntools/source/lngex.cxx:77: error: 
parameter may not have variably modified type 'rtl::OString [(((unsigned 
int)(((int)i) + -0x00000000000000001)) + 1)]'
dmake:  Error code 1, while making '../unxlngi6.pro/obj/lngex.obj'

I've attached a patch that fixes the symptom (it does an explicit type 
cast). You may prefer a different fix. After this the build was successful.

Best wishes,

Gert van Valkenhoef
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix.patch
Type: text/x-patch
Size: 668 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20120205/4b0d0c2f/attachment-0001.bin>


More information about the LibreOffice mailing list