Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Troubles in 'make'ing Hack 1.0.3

11 views
Skip to first unread message

Joseph Judge

unread,
May 9, 1986, 11:29:25 AM5/9/86
to

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

0 new messages