[mercury-users] compilation problem gcc-4, version 0.13.1

Johann Borck johann.borck at densedata.com
Sun Dec 24 05:30:07 AEDT 2006

I tried to compile mercury-compiler-0.13.1 on debian,  gcc version
4.0.4, configure; make; make install  without additional parameters.

configure+make succeed, but make install fails after with following output:
eqvclass.c:292: warning: 'mercury__eqvclass__id_to_partition_3_0' used
but never defined
eqvclass.c:294: warning: 'mercury__eqvclass__make_partition_4_0' used
but never defined
/clean/mercury-compiler-0.13.1/tmp_dir/scripts/mgnuc --grade
asm_fast.gc.profdeep        --       -c exception.c -o exception.o
exception.m:1972: error: static declaration of
follows non-static declaration
exception.c:2657: error: previous declaration of
'mercury_data__proc_layout__mercury__exception__builtin_throw_1_0' was here
make[2]: *** [exception.o] Error 1
make[2]: Leaving directory `/clean/mercury-compiler-0.13.1/tmp_dir/library'
To clean up from failed install, remove tmp_dir
make[1]: *** [install_grades] Error 1
make[1]: Leaving directory `/clean/mercury-compiler-0.13.1'
make: *** [install] Error 2

might this be an issue with gcc-4 comptibility?
Thanks for consideration,

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

More information about the users mailing list