Hi all, > I at least get a reasonable error message! :-) > > 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 > Compiling file NSBlocks.m ... > Compiling file blocks_runtime.m ... > blocks_runtime.m:33: error: parse error before "id" > blocks_runtime.m:34: fatal error: method definition not in class > context > compilation terminated. > make[4]: *** [obj/blocks_runtime.m.o] Error 1 > make[3]: *** [internal-framework-run-compile-submake] Error 2 > make[2]: *** [ObjectiveC2.all.framework.variables] Error 2 > make[1]: *** [internal-all] Error 2 > make: *** [internal-all] Error 2
I looked into this problem and am not sure why the compiler does not like /* Makes the compiler happy even without Foundation */ @interface Dummy - (id)retain; - (void)release; @end Where is the general object pointer id supposed to be defined? I have gcc -v Reading specs from /usr/local/lib/gcc/i386-pc-solaris2.10/3.4.4/specs Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --disable-nls --disable-libgcj --enable-shared --enable-languages=c,c++,objc Thread model: posix gcc version 3.4.4 Thanks, Andreas _______________________________________________ Etoile-discuss mailing list [email protected] https://mail.gna.org/listinfo/etoile-discuss
