You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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: