-
Notifications
You must be signed in to change notification settings - Fork 7
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
[bug] Failed to compile with Nim 2.0.0 #31
Comments
@fukusuket Thanks for raising the issue! Yes, I'd like to get takajo to work with nim 2.0.0 but I don't think there is a good progress bar replacement for suru so will wait a while until that gets fixed and keep using the 1.x version for now. |
The following changes in version 2.0.0 seem to cause compilation errors. I'll try to see if I can fix it💪 https://nim-lang.org/blog/2023/08/01/nim-v20-released.html
|
@fukusuket @YamatoSecurity
|
@hitenkoku
|
The code below was causing the compilation error. The code above tries to call the following function, but it gives an error because the argument signatures do not match. This issue seems to be fixed in the pull request below. |
Also, this issue was avoided by adding the following options when compiling. |
Describe the bug
Version 2.0.0 of Nim was released on August 1st.
There seems to be some incompatible changes with major version updates :(
Step to Reproduce
curl https://nim-lang.org/choosenim/init.sh -sSf | sh
choosenim update stable
git clone https://github.com/Yamato-Security/takajo.git
nimble update
nimble build -d:release -d:ssl
Expected behavior
Compilation succeeds.
Actual behavior
Compilation fails with below error.
Environment (please complete the following information):
13.4.1
nimble v0.14.2 compiled at 2023-08-19 16:19:52
2.0.0
Additional context
@YamatoSecurity had already created an issue :)
It seems that other libraries also have compilation errors like this.
The text was updated successfully, but these errors were encountered: