Index: sendmsg.c =================================================================== RCS file: /cvsroot/gnustep/gnustep/dev-libs/libobjc/sendmsg.c,v retrieving revision 1.5 diff -u -r1.5 sendmsg.c --- sendmsg.c 13 Aug 2003 03:02:23 -0000 1.5 +++ sendmsg.c 14 Jul 2005 18:27:32 -0000 @@ -174,7 +174,6 @@ IMP result; if (receiver) { -#if __GNUC__ < 3 || (__GNUC__ == 3&& __GNUC_MINOR__ < 3) #define PROTOCOL_VERSION 2 // needs to match what is in init.c // This is a dirty hack for GCC < 3.3 // Protocols that are referenced in a module, but not implemented by a @@ -188,8 +187,10 @@ proto_class = objc_lookup_class ("Protocol"); if (proto_class) receiver->class_pointer = proto_class; - } +#ifdef GSWARN + fprintf(stderr, "HACK: Forced initialization of Protocol %x %s\n", receiver, ((Protocol*)receiver)->protocol_name); #endif + } result = sarray_get_safe (receiver->class_pointer->dtable, (sidx)op->sel_id); if (result == 0)