Hi, Stephan!

Thanks for the help! The first tip concerning the cppumaker did the trick.
Everything works now as before. :) I did not try the second one.

Regards,

Michael

On 5/2/07, Stephan Bergmann <[EMAIL PROTECTED]> wrote:

Michael Jeier wrote:
> Hi,
>
> after i did coment out two lines in SimpleFontMetric.hpp
[...]
> //            ::getCppuType(static_cast< ::sal_Unicode *
>> (0)).getTypeLibType(),
> //            ::getCppuType(static_cast< ::sal_Unicode *
>> (0)).getTypeLibType()
[...]
> i have no more compiler errors, but i get linker errors like this

This indicates that you are having two problems:

1  You are probably calling cppumaker with neither -L nor -C (cppumaker
has three modes of generating type information in the emitted header
files, controlled by calling it with either -L, -C, or none; see the
Developer's Guide at
<http://api.openoffice.org/DevelopersGuide/DevelopersGuide.html> for
more information on cppumaker---please file an issue in case the
information there is not adequate, I did not bother to look it up right
now).  There appear to be problems with that cppumaker mode, I just
filed <http://www.openoffice.org/issues/show_bug.cgi?id=76838>; thanks
for making it known.

2  On Windows, sal_Unicode is a typedef for wchar_t
(sal/inc/sal/types.h:1.30 l. 126), but the MS C++ compiler must be used
in its non-conforming mode of unifying wchar_t with unsigned short
(i.e., no /Zc:wchar_t; see
<http://www.openoffice.org/servlets/ReadMsg?list=dev&msgNo=15561>).  It
appears your compiler usage is so that it treats wchar_t and unsigned
short as distinct types.  (That might be a problem with the SDK; Jürgen
probably knows.)

-Stephan

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


Reply via email to