[mercury-users] mercury_trace.c:173: undefined type, found `Word'

Terrence Brannon princepawn at earthlink.net
Mon Apr 30 03:14:42 AEST 2001


I sent this message last night, but I didnt see it come back to me
this morning, so I am not sure if I really sent it or not. I got over
this error by changing "Word" to "MR_Word"... but I would appreciate
an official fix for hit.

Next, I will report my next compiler error after changing Word to
MR_Word.

Again, this is for a Mac OS X distribution on an iBook.

cd trace && PATH=../scripts:../util:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts ../scripts/mmake 
MERCURY_ALL_C_INCL_DIRS=" -I../browser -I../library -I../runtime -I../boehm_gc -I../boehm_gc/include " ../scripts/mgnuc --grade none.gc     --no-ansi    -g     -c mercury_trace.c -o mercury_trace.o
mercury_trace.c:173: undefined type, found `Word'
cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode
mercury_trace.c: In function `MR_trace_real':
mercury_trace.c:173: `Word' undeclared (first use in this function)
mercury_trace.c:173: (Each undeclared identifier is reported only once
mercury_trace.c:173: for each function it appears in.)
mercury_trace.c:173: `saved_regs' undeclared (first use in this function)
mercury_trace.c:174: parse error before `int'
mercury_trace.c:178: `max_r_num' undeclared (first use in this function)
mercury_trace.c:190: `path' undeclared (first use in this function)
mercury_trace.c:196: `stop_collecting' undeclared (first use in this function)
make[2]: *** [mercury_trace.o] Error 1
make[1]: *** [trace] Error 2
[localhost:~/wares/Mercury/mercury-compiler-0.10.1] metaperl% 

--------------------------------------------------------------------------
mercury-users mailing list
post:  mercury-users at cs.mu.oz.au
administrative address: owner-mercury-users at cs.mu.oz.au
unsubscribe: Address: mercury-users-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-users-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the users mailing list