[mercury-users] gcc warnings
Fergus Henderson
fjh at cs.mu.OZ.AU
Fri Nov 17 11:11:43 AEDT 2000
On 16-Nov-2000, Michael Day <mikeday at corplink.com.au> wrote:
>
> When compiling any Mercury generated C files using gcc 2.96 I get many
> hundreds of warnings of the form:
>
> warning: traditional C ignores #define with the # indented
> warning: traditional C rejects string concatenation
> ...
>
> and so forth. Is there some compiler flag not getting set? gcc has never
> cared about traditional C before :/
The work-around is to use `CFLAGS=-Wno-traditional' in your Mmakefile,
or `--cflags -Wno-traditional' if you invoke mmc directly.
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
| of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.
--------------------------------------------------------------------------
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