gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libobjc2 on windows


From: Vincent Richomme
Subject: Re: libobjc2 on windows
Date: Sat, 06 Mar 2010 15:00:52 +0100
User-agent: RoundCube Webmail/0.2

On Sat, 6 Mar 2010 13:54:21 +0000, David Chisnall <address@hidden>
wrote:
> On 6 Mar 2010, at 13:43, Vincent Richomme wrote:
> 
>> On Sat, 06 Mar 2010 14:29:14 +0100, Vincent Richomme
>> <address@hidden> wrote:
>>> cc1.exe: warnings being treated as errors
>>> class.c:125: error: '_objc_lookup_class' redeclared without dllimport
>>> attribute:
>>> previous dllimport ignored
> 
> It's been almost a decade since I did win32 programming, but this looks
> just like nonsense.  As I recall, dllimport means 'this is a symbol from
a
> different DLL, access it via a pointer,' while what we mean here is
'this
> is a symbol that we is declared in libobjc that we are publishing'. 
Maybe
> someone with a bit more win32 experience can correct me if I'm wrong?
> 
> I believe that these should all be dllexport.  That attribute is
probably
> also needed for the stuff in runtime.{h,c}.
>
In this case, yes I think dllexport is more appropriate if you want it to
be exported.


 






reply via email to

[Prev in Thread] Current Thread [Next in Thread]