Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

__gmp_const removed in recent gmp #3

Closed
agoode opened this issue Apr 15, 2013 · 1 comment
Closed

__gmp_const removed in recent gmp #3

agoode opened this issue Apr 15, 2013 · 1 comment

Comments

@agoode
Copy link
Contributor

agoode commented Apr 15, 2013

Looks like a fix like
http://www.mpfr.org/mpfr-3.1.0/patch08
is needed.

DEBUG: In file included from gc.c:44:0:
DEBUG: gc/int-inf.c: At top level:
DEBUG: gc/int-inf.c:180:43: error: unknown type name '__gmp_const'
DEBUG:                                            __gmp_const __mpz_struct *lhsspace,
DEBUG:                                            ^
DEBUG: gc/int-inf.c:181:43: error: unknown type name '__gmp_const'
DEBUG:                                            __gmp_const __mpz_struct *rhsspace)) {
DEBUG:                                            ^
DEBUG: gc/int-inf.c: At top level:
DEBUG: gc/int-inf.c:257:34: error: unknown type name '__gmp_const'
DEBUG:                                   __gmp_const __mpz_struct *argspace)) {
DEBUG:                                   ^
@MatthewFluet
Copy link
Member

Since we require C99 for the rest runtime system, I think that we can simply replace __gmp_const with const in runtime/gc/int-inf.c.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants