Ildar Mulyukov wrote:
>
> This is actually not the problem of GCC's libobjc. In fact
> gnustep-libobjc does not export all needed symbols either (e.g.
> __objc_msg_forward). But this problem can be fixed very simply - just by
> adding symbols into libobjc.def file (again in
>
Well it does it in a different way:
objc-api.h: objc_EXPORT IMP (*__objc_msg_forward)(SEL);
and objc_EXPORT is defined in objc-decls.h as
# define objc_EXPORT __declspec(dllexport)
(as long as you define BUILD_libobjc_DLL on the compile line)
which should do the same thing as adding it to the defs file.
). I tried also gcc-2.95.3+gnustep-libobjc pair with the same result. I
> found the real problem. Look at that simple code:
> *****
> extern void* (*__objc_msg_forward)(void*);
>
> main() {
> void* p;
> p = __objc_msg_forward;
> __objc_msg_forward = 0; }
> *****
Can you try instead:
extern __declspec(dllimport) IMP (*__objc_msg_forward)(SEL);
???
--
Adam Fedor, Digital Optics | Fudd's law of opposition: Push
[EMAIL PROTECTED] http://www.doc.com | something hard enough, and it
[EMAIL PROTECTED] http://www.gnustep.org | will fall over.
_______________________________________________
Bug-gnustep mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gnustep