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

fix breakage with Nim HEAD #73

Merged
merged 1 commit into from Jan 8, 2019
Merged

fix breakage with Nim HEAD #73

merged 1 commit into from Jan 8, 2019

Conversation

stefantalpalaru
Copy link
Contributor

No description provided.

@stefantalpalaru
Copy link
Contributor Author

The error output for this one might be interesting:

Error: execution of an external compiler program 'gcc -c  -w -I/home/stefan/.nimble/pkgs/secp256k1-0.1.0/secp256k1_wrapper -I/home/stefan/.nimble/pkgs/secp256k1-0.1.0/secp256k1_wrapper/secp256k1 -I/home/stefan/.nimble/pkgs/secp256k1-0.1.0/secp256k1_wrapper/secp256k1/src -DHAVE_CONFIG_H  -I/usr/share/nim/lib -I/mnt/sda3/storage/CODE/status/BUILD_TEST/nimbus/vendor/repos/status-im/nim-eth-p2p/tests -o /home/stefan/.cache/nim/tdiscovery_d/stint_uint_div.c.o /home/stefan/.cache/nim/tdiscovery_d/stint_uint_div.c' failed with exit code: 1

/home/stefan/.cache/nim/tdiscovery_d/stint_uint_div.c: In function ‘div2n1n_3vjc33k40Yp3yyaKNk0xCQ’:
/home/stefan/.cache/nim/tdiscovery_d/stint_uint_div.c:917:7: error: redeclaration of ‘r_2’ with no linkage
  NU64 r_2;
       ^~~
/home/stefan/.cache/nim/tdiscovery_d/stint_uint_div.c:915:7: note: previous declaration of ‘r_2’ was here
  NU64 r_2;
       ^~~
/home/stefan/.cache/nim/tdiscovery_d/stint_uint_div.c:925:7: error: redeclaration of ‘r_3’ with no linkage
  NU64 r_3;
       ^~~
/home/stefan/.cache/nim/tdiscovery_d/stint_uint_div.c:923:7: note: previous declaration of ‘r_3’ was here
  NU64 r_3;
       ^~~

@stefantalpalaru
Copy link
Contributor Author

Related Nim bug report: nim-lang/Nim#10180

Copy link
Contributor

@mratsim mratsim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch

@mratsim mratsim merged commit d002fbb into master Jan 8, 2019
@stefantalpalaru stefantalpalaru deleted the nimhead branch January 8, 2019 11:48
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

Successfully merging this pull request may close these issues.

None yet

2 participants