Re: Weird build error on 3.5 l10ntools
Stephan Bergmann <sbergman <at> redhat.com>
2012-04-26 15:38:34 GMT
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)?
LibreOffice mailing list
LibreOffice <at> lists.freedesktop.org