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

Error in nim 2.0 RC1 #7

Open
doug719 opened this issue Dec 24, 2022 · 0 comments
Open

Error in nim 2.0 RC1 #7

doug719 opened this issue Dec 24, 2022 · 0 comments

Comments

@doug719
Copy link

doug719 commented Dec 24, 2022

Entered on nim forum:
nim2 c -d:release rho4.nim
import bignum # 0.4 latest version
...
/home/doug/.nimble/pkgs/gmp-0.2.5/gmp/pure.nim(19, 48) Error: invalid indentation

reply by ringabout:
https://github.com/subsetpark/nim-gmp/blob/7dfd4570c2a986c2e90ea16bb917a1b99668c460/src/gmp/pure.nim#L19

Pragmas cannot be placed after the object in v2.

mm_gmp_randstate_algdata* {.pure, union.} = object
mp_lc*: pointer

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

1 participant