Re: [Libreoffice] starmath / cppunit breakage in master

2011-01-04 Thread Miklos Vajna
On Tue, Jan 04, 2011 at 07:01:14PM +, Caolán McNamara wrote: > Aha, well that makes more sense anyway. C++0x compiler, boost makes some > assumptions that std::forward is available, which it isn't, cause this > is x86 and we're using stlport despite building with c++0x. > > Alright, just go

Re: [Libreoffice] starmath / cppunit breakage in master

2011-01-04 Thread Caolán McNamara
On Tue, 2011-01-04 at 19:15 +0100, Miklos Vajna wrote: > I'm attaching the new build output where I guess the real error is: > > /usr/include/boost/unordered/detail/hash_table_impl.hpp:197:54: error: > 'forward' is not a member of '_STL' Aha, well that makes more sense anyway. C++0x compiler, bo

Re: [Libreoffice] starmath / cppunit breakage in master

2011-01-04 Thread Miklos Vajna
On Tue, Jan 04, 2011 at 05:39:02PM +, Caolán McNamara wrote: > 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

Re: [Libreoffice] starmath / cppunit breakage in master

2011-01-04 Thread Caolán McNamara
On Tue, 2011-01-04 at 18:05 +0100, Miklos Vajna wrote: > On Tue, Jan 04, 2011 at 12:39:21PM +, Caolán McNamara > 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 backe

Re: [Libreoffice] starmath / cppunit breakage in master

2011-01-04 Thread Caolán McNamara
On Tue, 2011-01-04 at 04:08 +0100, Miklos Vajna wrote: > Hi, > > Looks like there is something similar in sc as well 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. C. __

Re: [Libreoffice] starmath / cppunit breakage in master

2011-01-04 Thread Miklos Vajna
On Tue, Jan 04, 2011 at 12:16:59AM -0500, Kohei Yoshida wrote: > > using #include "preextstl.h" / #include "postextstl.h" but that does not > > seem to help. Any other idea? :) > > Does setting > > #define MDDS_HASH_CONTAINER_STLPORT 1 > > before > > #include > > help? Yes, it does. :) May

Re: [Libreoffice] starmath / cppunit breakage in master

2011-01-03 Thread Pierre-André Jacquod
Hi, > Does setting > #define MDDS_HASH_CONTAINER_STLPORT 1 > before > #include > > help? > > I also saw someone having a similar issue in the same exact spot, which > I haven't been able to reproduce. Maybe this is related. I had also a problem after having upgraded to mds 0.4.0 with an up to d

Re: [Libreoffice] starmath / cppunit breakage in master

2011-01-03 Thread Kohei Yoshida
On Tue, 2011-01-04 at 04:08 +0100, Miklos Vajna wrote: > Hi, > > Looks like there is something similar in sc as well, see the attached > log. I tried guarding > > #include > > using #include "preextstl.h" / #include "postextstl.h" but that does not > seem to help. Any other idea? :) Does setti

Re: [Libreoffice] starmath / cppunit breakage in master

2011-01-03 Thread Miklos Vajna
On Mon, Jan 03, 2011 at 02:46:53PM +, Luke Dixon <6b8b4...@gmail.com> wrote: > I'm very sorry the code I was playing with has caused problems. > > I guess I wasn't thinking when adding the first header outside the > guards. > > The assertion_traits struct, I was expecting this to be a problem

Re: [Libreoffice] starmath / cppunit breakage in master

2011-01-03 Thread Luke Dixon
Hello, I'm very sorry the code I was playing with has caused problems. I guess I wasn't thinking when adding the first header outside the guards. The assertion_traits struct, I was expecting this to be a problem, but I didn't know what to do about it, sorry. Apologies, Luke ___

Re: [Libreoffice] starmath / cppunit breakage in master

2010-12-29 Thread Miklos Vajna
On Wed, Dec 29, 2010 at 09:28:56PM +, Caolán McNamara wrote: > If you change "std::" in that little section to "ext_std::" i.e. the > attached, does that work ? Yes. :) > If it does, go ahead and commit and push this, if it doesn't then go > ahead an push your own fix instead. Pushed your

Re: [Libreoffice] starmath / cppunit breakage in master

2010-12-29 Thread Caolán McNamara
On Sat, 2010-12-25 at 13:43 +0100, Miklos Vajna wrote: > On Fri, Dec 24, 2010 at 01:41:56PM +, Caolán McNamara > wrote: > > Try now again, there was one cppunit header included outside those > > guard. I've moved it inside the guards now. Does that now work ? > > No, I get the same output. H

Re: [Libreoffice] starmath / cppunit breakage in master

2010-12-25 Thread Miklos Vajna
On Fri, Dec 24, 2010 at 01:41:56PM +, Caolán McNamara wrote: > Try now again, there was one cppunit header included outside those > guard. I've moved it inside the guards now. Does that now work ? No, I get the same output. However, using the attached patch everything is OK. So looks like c

Re: [Libreoffice] starmath / cppunit breakage in master

2010-12-24 Thread Caolán McNamara
On Fri, 2010-12-24 at 03:22 +0100, Miklos Vajna wrote: > Hi, > > Currently I'm getting: > > /usr/include/cppunit/TestAssert.h:101:5: error: no matching function for call > to 'CppUnit::Asserter::failNotEqual(_STL::string, _STL::string, > CppUnit::SourceLine&, const std::string&)' > /usr/include

[Libreoffice] starmath / cppunit breakage in master

2010-12-23 Thread Miklos Vajna
Hi, Currently I'm getting: /usr/include/cppunit/TestAssert.h:101:5: error: no matching function for call to 'CppUnit::Asserter::failNotEqual(_STL::string, _STL::string, CppUnit::SourceLine&, const std::string&)' /usr/include/cppunit/Asserter.h:114:27: note: candidate is: static void CppUnit::A