Thread View: net.games
1 messages
1 total messages
Started by Joseph Judge
Fri, 09 May 1986 15:29
Troubles in 'make'ing Hack 1.0.3
Author: Joseph Judge
Date: Fri, 09 May 1986 15:29
Date: Fri, 09 May 1986 15:29
28 lines
1565 bytes
1565 bytes
I have been having a h*ll of a time trying to get this program to compile. Everything works fine until ... When it gets to cc'ing hack.o_init.c (which has an include for def.objects.h) it blows up!!!! The lines it has trouble on are the ones with NULL in them. It seems that there is a stuct'ure being initialized (defined in def.objclass.h called obj[] or something). The first 3 fields of this struct'ure are char *pointers (declared like: char *oc_descr) In the initialization (where it blows) The first is given a string (like : "Object Name") and the next two are NULL's) I tried everything!!! I #defined NULL from "this is a test" to "\0" to (char *)0 to ((char *) 0) to "" to '' to '\0', etc I am totally sure that it is blowing on the NULL because there are 2 error messages on each of the lines that have 2 NULL's HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Any Hack guru's that have any ideas??? HELP This is driving me nuts! cc -O -c hac.o_init.c def.objects.h/:11: no field initialization
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads