mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-20 08:19:28 +00:00
39cc7c93a40b6960bcfa4849cceeddd9ca1cf05a
Estimated hours taken: 4
Branches: main
compiler/ml_closure_gen.m:
A tvar_vector is an array of ints, not a pointer to an int, so use
that for the type of vector. Without this change closure layouts do
not compile on the IL back-end as a pointer to an int is not the
same thing as an array of ints, as it is on the C back-end.
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
Reportedly Mercury does not work on Solaris 2.5.1 if it is compiled with
gcc 2.7.x. It should however work fine on Solaris 2.5.1 if you compile
it with gcc 2.8, or if you use gcc 2.7.x with an earlier version of Solaris.
The binary distribution for Solaris that we distribute was compiled
with gcc 2.7.2, so if you have Solaris 2.5.1, you may need to compile
Mercury yourself from our source distribution.
("Solaris 2.x" is also known as "SunOS 5.x".)
Languages
Mercury
85.3%
C
8.7%
Shell
1.4%
Makefile
1%
JavaScript
1%
Other
2.1%