-
Notifications
You must be signed in to change notification settings - Fork 143
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
Build error using GCC version 14 (Arch GNU/Linux) #173
Comments
If it's helpful, I just checked that the changes don't cause compilation errors on an older system (GCC 13.2.1 and ICU 72.4) |
Same here. |
Just ran into this, too. Tried the steps above, but the same error persists. |
Sorry to hear that, you can experiment with different flag settings too after a failed installation. A Makefile then appears in the directory and you can directly edit this file and compile with |
Actually just removing the flag altogether works for me as well. This should be preferred IMO, since the standard flags on a system should be fine. |
As a workaround one can also use |
I'm not certain if the error is directly related to the compiler itself (I'm using Arch GNU/Linux with gcc/g++ 14.1.1) as I've noticed a new issue with the ICU version mentioned (#172). The logs are as follows:
To fix this, I changed the 37th line in the extconf.rb file from
$CXXFLAGS << ' -std=c++11'
to
$CXXFLAGS << ' -std=c++17'
and then build again.
Here are steps:
The text was updated successfully, but these errors were encountered: