-
Notifications
You must be signed in to change notification settings - Fork 77
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
1.1.20 failed in cmake stage on windows 10 #229
Comments
to be notice, this is different with #225 , which is a linker error |
Thanks for reporting and for differentiating it from #225. It's very hard to see what the actual error is, within the |
I'm testing it |
hmmmm |
Interesting! |
yes, downgrading to 1.1.16 works |
After looking at the changes between 1.1.16-zng...1.1.20-zng it once again became clear that the cause of the issue certainly is upstream. I can't see how the changes here should affect |
I have notice some thing
is this some kind of |
It seems like so, maybe you are using the wrong encoding/locale for the source file? Not familiar with these encoding stuff but I think it's best to save everything as utf-8 |
it is actually a warning that you have saved your file in utf-8, but the local encodings are gbk |
it works, ths |
I meet the same issue with libz-ng-sys v1.1.20, starship/starship@d510240 and CMake v3.28.3 (installed from winget). And libz-ng-sys v1.1.16 also works.
I agree. Some quotation marks in libz-ng-sys’s source files are Maybe we should let CMake tell MSVC to always use UTF-8? Docs: /utf-8 (Set source and execution character sets to UTF-8) | Microsoft Learn add_compile_options("$<$<CXX_COMPILER_ID:MSVC>:/source-charset:utf-8>")
add_compile_options("$<$<CXX_COMPILER_ID:MSVC>:/execution-charset:utf-8>") |
about a few hundred lines
The text was updated successfully, but these errors were encountered: