[mercury-users] mercury_trace_external.c:164: bad attribute specification, expecting constant, found `('

Terrence Brannon princepawn at earthlink.net
Mon Apr 30 03:19:43 AEST 2001


After changing Word to MR_Word in mercury_trace.c, I then encountered
the following warnings, but compilation continued... Mac OS X iBook is
the platform.


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_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_alias.c -o mercury_trace_alias.o
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_browse.c -o mercury_trace_browse.o
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_declarative.c -o mercury_trace_declarative.o
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_external.c -o mercury_trace_external.o
mercury_trace_external.c:164: bad attribute specification, expecting constant, found `('
mercury_trace_external.c:164: syntax error, found `1'
mercury_trace_external.c:164: syntax error, found `,'
mercury_trace_external.c:164: illegal function definition, found `)'
cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode
In file included from mercury_trace_external.c:49:
/usr/include/arpa/inet.h:66: warning: `struct in_addr' declared inside parameter list
/usr/include/arpa/inet.h:66: warning: its scope is only this definition or declaration, which is probably not what you want.
/usr/include/arpa/inet.h:67: warning: `struct in_addr' declared inside parameter list
/usr/include/arpa/inet.h:67: warning: parameter has incomplete type
/usr/include/arpa/inet.h:69: warning: parameter has incomplete type
/usr/include/arpa/inet.h:71: warning: parameter has incomplete type

--------------------------------------------------------------------------
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