[Open Office] Build error in configmgr

Jürg Billeter j at bitron.ch
Sat Apr 7 16:52:24 EDT 2007


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.

Jürg



More information about the Openoffice mailing list