[Vm-dev] #pragma export on/off

Eliot Miranda eliot.miranda at gmail.com
Fri Feb 20 04:02:07 UTC 2009


On Thu, Feb 19, 2009 at 7:49 PM, John M McIntosh <
johnmci at smalltalkconsulting.com> wrote:

>
>
> http://publib.boulder.ibm.com/infocenter/zos/v1r9/index.jsp?topic=/com.ibm.zos.r9.cbclx01/pexport.htm
>
> It's to expose the symbol names for routines so that FFI and the code
> loading logic can find the public API for internal plugins.
>
>
> I'm not sure how it applies today, various newer versions of gcc 4.x
> cheerfully makes everything private unless told otherwise.
> But I'll let Ian reply since I'm sure it still is required on some
> platforms.


Remember the EXPORT macro exists also.  So if it can be done via the EXPORT
pragma then we should nuke the export pragma.


>
>
> On 19-Feb-09, at 7:42 PM, Eliot Miranda wrote:
>
>  Hi All,
>>
>>    anyone know what platform this pragma is aimed at, and whether we still
>> really, really need it?  It is the source of the bulk of my warnings in the
>> cog interpreter and I'd love to nuke it.
>>
>> E.
>>
>
> --
> ===========================================================================
> John M. McIntosh <johnmci at smalltalkconsulting.com>
> Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
> ===========================================================================
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20090219/7fce83fb/attachment.htm


More information about the Vm-dev mailing list