[Libreoffice] oox compile failure ...

Caolán McNamara caolanm at redhat.com
Mon Oct 25 08:48:51 PDT 2010

On Mon, 2010-10-25 at 15:52 +0100, Michael Meeks wrote:
> I just got this:
> Compiling: oox/source/ppt/timenodelistcontext.cxx
> Making:    ppt.lib
> Compiling: oox/source/ppt/dgmimport.cxx
> In file included from /data/opt/OpenOffice/HEAD/build/libreoffice-
> ./../inc/oox/ppt/dgmimport.hxx:63:52: error: conflicting return type specified for 'virtual oox::drawingml::chart::ChartConverter* oox::ppt::QuickDiagrammingImport::getChartConverter()'
> ./../inc/oox/core/xmlfilterbase.hxx:92:54: error:   overriding 'virtual oox::drawingml::chart::ChartConverter& oox::core::XmlFilterBase::getChartConverter()'
> /data/opt/OpenOffice/HEAD/build/libreoffice- In member function 'virtual bool oox::ppt::QuickDiagrammingImport::importDocument()':
> /data/opt/OpenOffice/HEAD/build/libreoffice- error: 'getParentShape' was not declared in this scope
> /data/opt/OpenOffice/HEAD/build/libreoffice- error: 'loadDiagram' is not a member of 'oox::drawingml'
> 	The 'solution' was to remove the oox build directory.
> 	Clearly, we need some better dependency tracking somewhere here ...

The dgmimport.cxx and matching .hxx were introduced with an earlier
commit, and removed later. Because the sources are rsynced over to the
build dir, the .cxx file remained in the build dir, I suspect that's the
trigger for this, but unsure as to why exactly. Adding a random .cxx to
the dir doesn't make dmake attempt to compile it. *shrug*


More information about the LibreOffice mailing list