Martin Thoma wrote:
Hello!
I want to use SDK2.0 on Windows with VC++. I have installed OO Version
1.9.104 and SDK 1.9.91, which seems to me the latest versions.
I generated headers with:
cppumaker -BUCR -O [Targetpath to headers] [Path of types.rdb].
I get a lot of compiler-errors, I attached 2 of them. I defined #WNT, and
this all worked fine with the 1.x-SDK and 1.1.X-OO.
Any ideas?
Martin
d:\cvc\oosdk\includecpp\com\sun\star\uno\runtimeexception.hpp(38) : error
C2352: 'com::sun::star::uno::Exception::=' : illegal call of non-static
member function
d:\cvc\oosdk\includecpp\com\sun\star\uno\exception.hdl(32) : see declaration
of '='
d:\cvc\oosdk\include\com\sun\star\uno\any.hxx(623) : error C2143: syntax
error : missing ';' before '<'
// not impl: forbid use with ambiguous type (sal_Unicode, sal_uInt16)
template <>
sal_uInt16 Any::get<sal_uInt16>() const;
#endif // ! defined(EXCEPTIONS_OFF)
In both cases, this is relatively new code, which might not yet have
been there in OOo 1.1.x. And, in both cases, your specific VC++ version
seems to be too old to accept the code.
-Stephan
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]