Michael Meeks wrote:
[...]
http://wiki.services.openoffice.org/wiki/Uno/Cpp/Module/CPPUhelper/test

        I tried the 1st test, since the instruction list for the 2nd set of
tests looked long & scary ;-) [ and presumably would be better expressed
as a simple 'check:' dmake rule instead of a hand-typed recipe ].

        The result:

$ cd cppuhelper/qa/propertysetmixin/
$ dmake
... snip a surprising amount of successful building ...
g++ -fmessage-length=0 -c -Os -fno-strict-aliasing   ... -o 
test_propertysetmixin.o
/opt/OpenOffice/src680-m187/cppuhelper/qa/propertysetmixin/test_propertysetmixin.cxx /opt/OpenOffice/src680-m187/solver/680/unxlngi6.pro/inc/cppunit/TestAssert.h: In static member function ‘static _STL::string CppUnit::assertion_traits<T>::toString(const T&) [with T = rtl::OUString]’:
/opt/OpenOffice/src680-m187/solver/680/unxlngi6.pro/inc/cppunit/TestAssert.h:100:   
instantiated from ‘void CppUnit::TestAssert::assertEquals(const T&, const T&, 
CppUnit::SourceLine, const _STL::string&) [with T = rtl::OUString]’
/opt/OpenOffice/src680-m187/cppuhelper/qa/propertysetmixin/test_propertysetmixin.cxx:407:
   instantiated from here
/opt/OpenOffice/src680-m187/solver/680/unxlngi6.pro/inc/cppunit/TestAssert.h:50: error: 
ambiguous overload for ‘operator<<’ in ‘ost << x’
/opt/OpenOffice/src680-m187/solver/680/unxlngi6.pro/inc/stl/stl/_ostream.h:96: note: candidates are: 
_STL::basic_ostream<_CharT, _Traits>& _STL::basic_ostream<_CharT, 
_Traits>::operator<<(unsigned char) [with _CharT = char, _Traits = _STL::char_traits<char>] 
<near match>
...

Works fine for me on SRC680m187 unxlngi6.pro with the Hamburg GCC 3.4.1. Please file an issue telling more about your env (GCC version etc.).

-Stephan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to