Update of bug #32383 (project gnustep):

                  Status:                    None => Invalid                
             Open/Closed:                    Open => Declined               

    _______________________________________________________

Follow-up Comment #1:

1. The behavior you describe seems to be correct (ie not a bug),
NSClassFromString() is not supposed to return a non-existent class ... you
have to have loaded the class in some way before it can be found.  Calling a
method of the class and linking the library will of course get the linker to
load the class at program startup, which is why NSClassFromString() is able to
return the named class in the version of the program where you have called
[RandomClass class].

2. Your example won't compile on my system because you haven't used
gnustep-make. I suggest looking at
http://www.gnustep.it/nicola/Tutorials/WritingMakefiles/index.html
so that you can write a makefile which will work on any system.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?32383>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


_______________________________________________
Bug-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to