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

Compile issue on Centos 7 #4

Closed
PhilipPeake opened this issue Feb 8, 2016 · 1 comment
Closed

Compile issue on Centos 7 #4

PhilipPeake opened this issue Feb 8, 2016 · 1 comment

Comments

@PhilipPeake
Copy link

g++ -DHAVE_CONFIG_H -I.. -I../.. -O -pipe -Wall -Wno-non-virtual-dtor -c -o integer.o integer.cpp
integer.cpp: In function ‘void MontgomeryReduce(word_, word_, const word_, const word_, const word_, unsigned int)’:
integer.cpp:743:8: warning: unused variable ‘carry’ [-Wunused-variable]
word carry = Add(R, R, M, N);
^
integer.cpp: In function ‘void CorrectQuotientEstimate(word_, word_, word&, word&, const word_, unsigned int’:
integer.cpp:903:7: warning: unused variable ‘borrow’ [-Wunused-variable]
word borrow = Subtract(R, R, T, N+2);
^
integer.cpp: In member function ‘Integer& Integer::operator++()’:
integer.cpp:1617:8: warning: unused variable ‘borrow’ [-Wunused-variable]
word borrow = Decrement(reg, reg.size);
^
In file included from modarith.h:9:0,
from integer.cpp:5:
algebra.h: In instantiation of ‘T AbstractEuclideanDomain::Gcd(const Element&, const Element&) const [with T = Integer; AbstractEuclideanDomain::Element = Integer]’:
integer.cpp:2111:46: required from here
algebra.h:276:35: error: ‘Equal’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
while (!Equal(g[i1], this->Zero()))
^
algebra.h:276:35: note: declarations in dependent base ‘AbstractGroup’ are not found by unqualified lookup
algebra.h:276:35: note: use ‘this->Equal’ instead

@brc0x1
Copy link
Member

brc0x1 commented Apr 12, 2016

Hi, the 2.4.3.0 update fixes this compilation issue.

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