[m-rev.] diff: workaround seg. fault in srcdist on 64-bit machines

Julien Fischer juliensf at csse.unimelb.edu.au
Tue Jun 29 18:41:31 AEST 2010


On Tue, 29 Jun 2010, Julien Fischer wrote:

>
> Disable --smart-indexing when generating the C files for the source
> distribution.  We appear to be generating non-portable code for some types of
> switches that causes the compiler (actually the lexer) to seg. fault, when it
> is built from the source distribution C files on a 64-bit machine.
>
> A proper fix would be to disable the generation of non-portable code for
> switches when --cross-compiling is enabled.
>
> tools/test_mercury:
> 	Make the above change.

This is all in relation to bug #115 in Mantis BTW.

Julien.
--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to:       mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions:          mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the reviews mailing list