This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] pragma for __attribute__ ((__ms_struct__))


Eric Christopher schrieb:
> 
> On Apr 28, 2006, at 8:05 AM, Timothy J. Wood wrote:
> 
>>
>> On Apr 27, 2006, at 8:47 PM, Eric Christopher wrote:
>>
>>> Ignoring it mostly. I don't think anyone has thought about objc  and
>>> this. It's
>>> really for compatibility with MS structure layout and afaik  there's no
>>> objc on windows. :)
>>
>>
>>   The GNU runtime exists on Win32, obviously.  I've ported older 
>> versions of Apple's runtime (and the gcc support) to Windows before 
>> too, so it clearly isn't that hard to get ObjC on Windows :)
> 
> 
> Let me be more specific, there's no MS ObjC compiler and therefore 
> nothing to attempt to be compatible with.
> 

I don't think this is an issue of being compatible with different ObjC
compilers but more of an issue whether the provided encoding information
is useful in determining the layout.  Some implementations of GNUstep
use the encoding to support message forwarding on some platforms esp.
when information is passed/compared between platforms with different
ABI's.  I'm not sure whether we are using this encoding information in
addition to either libffi or ffcall on MinGW and or Cygwin.

Cheers,
David


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]