-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Integer class errors #1268
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Updated: The problem raises from g++ (13.2.0) environment detection.
The g++ compiler works well with:
CXX=/mingw64/bin/g++ make all
But does not work correctly with:
CXX="D:\msys64\mingw64\bin\g++.exe" make
(it adds more flag -DCRYPTOPP_DISABLE_ASM and then some classes like integer, do not work correctly)
Crypto++ Issue Report
Please help, the Integer class does not work:
Compiler: g++.exe (Rev2, Built by MSYS2 project) 13.2.0;
Plasform: Window 11, Mingw64;
Test code: Compile OK, but execution file returns nothing (cout does not work)
AutoSeededRandomPool prng;
Integer p("01FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFH");
Integer x("1234567654312456789076532134567890012.");
Integer y(prng, 1, p); // random integer
cout << "p= " << p << endl;
cout << "x= " << x << endl;
cout << "y= " << y << endl;
The text was updated successfully, but these errors were encountered: