<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
I am trying to build LibreOffice for the first time, and am running
into difficulties.<br>
<br>
This is my clone command: <span class="kw2">git clone</span> git:<span
class="sy0">//</span>anongit.freedesktop.org<span class="sy0">/</span>libreoffice<span
class="sy0">/</span>core libreoffice<br>
This is my gcc: (Debian 4.9.3-3) 4.9.3<br>
<br>
The autogen script works fine with no modifications. When I
actually attempt to make it though, I keep on running into the same
error, which I could find no information on. The error is the same
each time, besides where in the source it is obviously :<br>
<b><br>
</b><i>In file included from
/home/quailman/code/libreoffice/lotuswordpro/source/filter/lwpheader.hxx:75:0,</i><i><br>
</i><i> from
/home/quailman/code/libreoffice/lotuswordpro/source/filter/lwpbulletstylemgr.hxx:67,</i><i><br>
</i><i> from
/home/quailman/code/libreoffice/lotuswordpro/source/filter/lwpbulletstylemgr.cxx:61:</i><i><br>
</i><i>/home/quailman/code/libreoffice/include/rtl/ustring.hxx:168:5:
note: declared here</i><i><br>
</i><i> OUString(int) = delete;</i><i><br>
</i><i> ^</i><i><br>
</i><i>/home/quailman/code/libreoffice/lotuswordpro/source/filter/lwpbulletstylemgr.cxx:119:16:
error: invalid conversion from ‘const char*’ to ‘int’
[-fpermissive]</i><i><br>
</i><i> return "";</i><br>
<br>
Each time it is in a function which returns a OUString, but the
actual return statement is the <b>return "";</b><br>
<br>
If I change the return statement to <b>return OUString();</b> it
seems to work, but after running into the error in three separate
files(and having no familiarity with the code), I figure I must be
missing something bigger. Is this a familiar problem to anyone?<br>
</body>
</html>