Hi, On Fri, Aug 21, 2009 at 12:11:55PM +0200, Andreas Höschler wrote: > making all for framework ObjectiveC2... > Compiling file runtime.c ... > runtime.c: In function `class_addIvar': > runtime.c:149: warning: implicit declaration of function `strdup' > runtime.c:149: warning: assignment makes pointer from integer without a cast > runtime.c:150: warning: assignment makes pointer from integer without a cast > runtime.c: In function `class_addMethod': > runtime.c:180: warning: assignment makes pointer from integer without a cast > runtime.c: In function `objc_allocateClassPair': > runtime.c:743: warning: assignment makes pointer from integer without a cast
If I recall correctly strdup() is not mandatory according to POSIX. So with some C libraries you have to explicitly turn it on (glibc behaves that way, for example). Maybe you could check your system's strings.h whether strdup() is wrapped in some #ifdef that needs be set. Cheers, Niels _______________________________________________ Etoile-discuss mailing list [email protected] https://mail.gna.org/listinfo/etoile-discuss
