Performance samples for LibreOffice ...
Lionel Elie Mamane
lionel at mamane.lu
Mon Aug 25 20:27:41 PDT 2014
On Fri, Aug 22, 2014 at 09:06:24PM +0200, Jan Hubicka wrote:
> Another one I noticed :)
> /aux/hubicka/libreoffice/connectivity/source/inc/dbase/DIndex.hxx:41:15: warning: type �struct ODbaseIndex� violates one definition rule [-Wodr]
> class ODbaseIndex : public ODbaseIndex_BASE
> ^
> /aux/hubicka/libreoffice/connectivity/source/inc/dbase/DIndex.hxx:41:15: note: a different type is defined in another translation unit
> class ODbaseIndex : public ODbaseIndex_BASE
> ^
> /aux/hubicka/libreoffice/connectivity/source/inc/dbase/DIndex.hxx:74:29: note: the first difference of corresponding definitions is field �m_aHeader�
> NDXHeader m_aHeader;
> ^
> /aux/hubicka/libreoffice/connectivity/source/inc/dbase/DIndex.hxx:74:29: note: a field of same name but different type is defined in another translation unit
> NDXHeader m_aHeader;
> ^
> /aux/hubicka/libreoffice/connectivity/source/inc/dbase/DIndex.hxx:55:20: note: type �struct NDXHeader� should match type �struct NDXHeader�
> struct NDXHeader
> ^
> /aux/hubicka/libreoffice/connectivity/source/inc/dbase/DIndex.hxx:55:20: note: the incompatible type is defined here
> struct NDXHeader
>
> Thisone will be harder to track - I can get better diagnostic with ODR merging patch once I get around updating it for mainline
This looks like it is saying that there are two different
(incompatible) definitions of type
connectivity::dbase::ODbaseIndex::NDXHeader, but "git grep NDXHeader"
finds only one.
Care to explain the problem? Thanks.
--
Lionel
More information about the LibreOffice
mailing list