[Open Office] Build error in configmgr

Jürg Billeter j at bitron.ch
Sun Apr 15 16:15:03 EDT 2007


On Sam, 2007-04-07 at 22:52 +0200, Jürg Billeter wrote:
> On Sam, 2007-04-07 at 13:37 +0200, Jürg Billeter wrote:
> > Hi,
> > 
> > I'm trying to build ooo-build SVN trunk with gcc 4.1.2 on Linux x86 and
> > get the following error message in configmgr:
> > 
> > /usr/src/ooo-build-20070406/build/OOF680_m14/configmgr/source/tree/subtree.hxx: In member function '__gnu_cxx::__normal_iterator<configmgr::INode**, std::vector<configmgr::INode*, std::allocator<configmgr::INode*> > > configmgr::ChildListSet::begin() const':
> > /usr/src/ooo-build-20070406/build/OOF680_m14/configmgr/source/tree/subtree.hxx:60: error: invalid const_cast from type '__gnu_cxx::__normal_iterator<configmgr::INode* const*, std::vector<configmgr::INode*, std::allocator<configmgr::INode*> > >' to type 'configmgr::INode**'
> > /usr/src/ooo-build-20070406/build/OOF680_m14/configmgr/source/tree/subtree.hxx: In member function '__gnu_cxx::__normal_iterator<configmgr::INode**, std::vector<configmgr::INode*, std::allocator<configmgr::INode*> > > configmgr::ChildListSet::end() const':
> > /usr/src/ooo-build-20070406/build/OOF680_m14/configmgr/source/tree/subtree.hxx:61: error: invalid const_cast from type '__gnu_cxx::__normal_iterator<configmgr::INode* const*, std::vector<configmgr::INode*, std::allocator<configmgr::INode*> > >' to type 'configmgr::INode**'
> > dmake:  Error code 1, while making '../../unxlngi6.pro/slo/treenodefactory.obj'
> > 
> > Is this a known issue? I suspect that it's caused by building without
> > STLport but that's just a guess.
> 
> The problem is caused by cws-configrefactor01.diff, the build works fine
> without it.

The attached patch fixes the code to work in a more portable way, could
this be pushed to the cws?

Jürg

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ooo-build-configmgr-without-stlport.patch
Type: text/x-patch
Size: 1432 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/openoffice/attachments/20070415/8953ed30/attachment-0001.bin 


More information about the Openoffice mailing list