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 kyosh...@novell.com 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 mdds/mixed_type_matrix.hpp

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 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 caol...@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

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 caol...@redhat.com 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

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, boost

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 caol...@redhat.com 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.

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

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, but I

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 mdds/mixed_type_matrix.hpp using #include preextstl.h / #include postextstl.h but that does not seem to help. Any other idea?

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 mdds/mixed_type_matrix.hpp 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

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 caol...@redhat.com 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

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 caol...@redhat.com 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.

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)'

[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