From d42e6d908e2eb66f11ebf3cc33e5112a5f7fbf6e Mon Sep 17 00:00:00 2001 From: CaS Date: Tue, 11 Feb 2003 17:16:38 +0000 Subject: [PATCH] Fix linking problems under windows. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/libobjc/trunk@15941 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 7 +++++++ init.c | 2 ++ 2 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index 2072109..93adb8a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +Tue Feb 11 17:11:00 2003 Richard Frith-Macdonald + + * init.c: Don't do the check to see if Object and NXConstantString + are set up before calling +load ... NXConstantString is never set + when we use gcc-3.0 and later in GNUstep ... which means that + +load would never be sent. + 2001-05-01 Mark Mitchell * fdl.texi: New file. diff --git a/init.c b/init.c index e16589d..c9df0e0 100644 --- a/init.c +++ b/init.c @@ -674,12 +674,14 @@ static void objc_send_load (void) return; } +#if 0 /* Special check to allow creating and sending messages to constant strings in +load methods. If these classes are not yet known, even if all the other classes are known, delay sending of +load. */ if (!objc_lookup_class ("NXConstantString") || !objc_lookup_class ("Object")) return; +#endif /* Iterate over all modules in the __objc_module_list and call on them the __objc_create_classes_tree function. This function creates a tree of