On Sat, 6 Mar 2010 13:54:21 +0000, David Chisnall <[email protected]> wrote: > On 6 Mar 2010, at 13:43, Vincent Richomme wrote: > >> On Sat, 06 Mar 2010 14:29:14 +0100, Vincent Richomme >> <[email protected]> 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.
_______________________________________________ Gnustep-dev mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnustep-dev
