7 Nov
2003
7 Nov
'03
10:31 a.m.
Some Apple docs say that for some cases of binary backwards compatibility, I need to define external functions as weak_import so that the linker will not complain. It is done like: extern int SayHello() __attribute__((weak_import)); Normally, this would translate to: function SayHello: int; external name 'SayHello'; attribute(weak_import); But the weak_import is not recognized by GPC. Is there a way to do this in GPC? Thanks, Peter. -- <http://www.interarchy.com/> <http://documentation.interarchy.com/>