[Libreoffice] starmath / cppunit breakage in master
pjacquod at alumni.ethz.ch
Mon Jan 3 23:43:31 PST 2011
> Does setting
> #define MDDS_HASH_CONTAINER_STLPORT 1
> #include <mdds/mixed_type_matrix.hpp>
> 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 date (25.12.2010) git
At the ende, I managed to compile making a hack to 0.4.0 (very
dirty...). Since this part was outside of my understanding, I am not
able to know if the error was from my side or not...
and since you were "on holliday" I kept it if someone also run in
trouble. Below more explanation.
Since then, I did not recompile the whole stuff... take too long by me.:- )
>> I guess this is specific to system-mdds.
> Conceptually there should be no difference whether it's system or
> internal, since mdds is just a collection of header files with no
> libraries to build or link against. From the looks of the log file, it
> *may* have some issues with gcc 4.5.x's implementation of unordered_map,
> but I'm not sure 100%...
I have tried make clean, make distclean
I have used
./autogen.sh --with-num-cpus=2 --without-junit --disable-kde
gcc version 4.5.0 20100604 [gcc-4_5-branch revision 160292] (SUSE Linux)
I did not success to compile, until I changed:
simulating having MDDS_HASH_CONTAINER_STLPORT defined:
#define _mdds_unordered_map_type ::std::hash_map
//#define _mdds_unordered_map_type ::std::unordered_map
Else, I got error like
In file included from /usr/include/c++/4.5/bits/stl_algobase.h:63:0,
/usr/include/c++/4.5/bits/cpp_type_traits.h:78:10: error: redefinition
of 'struct _STL::__true_type'
More information about the LibreOffice