Weird build error on 3.5 l10ntools
sbergman at redhat.com
Thu Apr 26 08:38:34 PDT 2012
On 04/26/2012 05:27 PM, Lubos Lunak wrote:
> On Thursday 26 of April 2012, Tomáš Chvátal wrote:
>> Some users in Gentoo are reporting weird issue in l10ntools when using
>> Please see the attached log for the issue.
>> Any idea how to resolve it?
> ../inc/tagtest.hxx:68: note: candidates are: TokenInfo&
> Assuming that gcc is not just lazy to report the signature properly, this is
> wrong, there is const missing in the argument, and that's most probably
> causing the problem. But I do not see any such operator there in the source,
> so it looks like the autogenerated operator is wrong, i.e. compiler bug.
The autogenerated operator= would take non-const ref if any of the data
members' operator= required that. The only suspiciously-looking one in
TokenInfo is StringHashMap aProperties, which is a boost::unordered_map.
Something wrong with the boost version maybe (assuming that the
problem happens --with-system-boost)?
More information about the LibreOffice