[m-rev.] for post-commit review: report unqualified types in .int files

Dirk Ziegemeyer dirk at ziegemeyer.de
Sat Oct 10 18:45:14 AEDT 2020


Hi Zoltan,

thank you for fixing the error message.

On the test results page for mercury-srcdist-rotd-2020-10-09 at http://testing.mercurylang.org/ there is this output:

…
FAILED TEST invalid/bug521 in grade hlc.gc
bug521_sub.m:014:   error: undefined type `list'/1.
…

This error message is exactly what I expected.

@ All:
I just wanted to install mercury-srcdist-rotd-2020-10-09 to test it myself but ran into an installation error after typing:
sh configure --disable-most-grades
make PARALLEL=-j4

=== Start log ===
…
mercury_memory_handlers.c:64:6: error: "MR_HAVE_SIGINFO defined but don't know how to get it"
    #error "MR_HAVE_SIGINFO defined but don't know how to get it"
     ^
mercury_memory_handlers.c:83:6: error: "MR_HAVE_SIGINFO defined but don't know how to get it"
    #error "MR_HAVE_SIGINFO defined but don't know how to get it"
     ^
mercury_memory_handlers.c:270:41: error: use of undeclared identifier 'bus_handler'
    MR_setup_signal(SIGBUS, (MR_Code *) bus_handler, MR_TRUE,
                                        ^
mercury_memory_handlers.c:273:42: error: use of undeclared identifier 'segv_handler'
    MR_setup_signal(SIGSEGV, (MR_Code *) segv_handler, MR_TRUE,
                                         ^
4 errors generated.
make[2]: *** [mercury_memory_handlers.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [runtime] Error 2
make: *** [all] Error 2
=== End log ===

Is this any known issue? I never used the install option „--disable-most-grades“ before. (on Mac OS Catalina 10.15.7)

Dirk


> Am 08.10.2020 um 07:03 schrieb Zoltan Somogyi <zoltan.somogyi at runbox.com>:
> 
> For post-commit review by anyone.
> 
> Zoltan.<Log.bug521><DIFF.bug521>_______________________________________________
> reviews mailing list
> reviews at lists.mercurylang.org
> https://lists.mercurylang.org/listinfo/reviews



More information about the reviews mailing list