Hi,

I'm trying to build 680_M135 on Mac OS X 10.4.2 with XCode 2.1/gcc 4
now that the cws macosxgcc4 has been merged. However I'm having a bit
of trouble in psprint.

In issue i54458 there was a patch to source/fontmanager/fontconfig.cxx
that cast m_plib to _oslModule* in the call to osl_getSymbol().

In the milestone this has been modified to cast to oslModule* because
using _oslModule* caused build issues on other platforms.
Unfortunately this seems to break my build again.

For my purposes I've rolled fontconfig.cxx back from revision 1.13 to
1.12 and the build now continues, but obviously this isn't the way to
fix this.

I've traced the symbol back to sal/osl/module.h where we have, on lines 78-86:

#ifdef MACOSX
struct _oslModule
{
        void*           pModule;
        sal_Char*       pModuleName;
};
typedef struct _oslModule * oslModule;
#else
typedef void* oslModule;
#endif

I think we can alter fontconfig.cxx and salplug.cxx to cast to
oslModule rather than oslModule*. This shouldn't make any difference
to other platforms because oslModule is typedef'ed to void*, which in
both of these files is a noop and returns them to the previous
behaviour, rather than casting void* to void**.

Could someone please verify this?

If this is really an issue, should issue i54458 be reopened or should
I create a new issue?

Thanks,

Simon

ps It seems that this also shows up in vcl/source/unx/plugadapt/salplug.cxx.

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

Reply via email to