[Libreoffice] starmath / cppunit breakage in master

Caolán McNamara caolanm at redhat.com
Tue Jan 4 09:39:02 PST 2011


On Tue, 2011-01-04 at 18:05 +0100, Miklos Vajna wrote:
> On Tue, Jan 04, 2011 at 12:39:21PM +0000, Caolán McNamara <caolanm at redhat.com> wrote:
> > Do you still have this problem. If so can you attach your config.log. At
> > the moment in head I think we should be preferring the
> > boost::unordered_map as the backend.
> 
> Yeah, sc still fails to build here without the attached patch. I'm
> attaching config.log as well.

So, this is a little bizarre. Your log says...

configure:16032: checking which hash container mdds shall use
configure:16036: result: boost::unordered_map

So that should mean that

a) grep MDDS_CPPFLAGS= Linux*.sh 

says

MDDS_CPPFLAGS="-DMDDS_HASH_CONTAINER_BOOST"

is that the case ?

b) /home/vmiklos/git/libreoffice/master/clone/calc/sc/source/core/tool/makefile.mk should have CFLAGSCXX+=$(MDDS_CPPFLAGS) in it, which should ensure that if you do...

touch scmatrix.cxx && VERBOSE=true dmake 2>&1 | sed 's/ /\n/g' | grep
MDDS

you get -DMDDS_HASH_CONTAINER_BOOST, right ?

c) and /usr/include/mdds/hash_container/map.hpp has

#elif defined (MDDS_HASH_CONTAINER_BOOST)
#include <boost/unordered_map.hpp>

*before*

#else
// c++0x
#include <unordered_map>

right ?

C.



More information about the LibreOffice mailing list