-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
libpng: use of undefined value error with png_check_sig #9772
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
Comments
If I get the error message right, the inline form is functionally equal to this:
If we run unified diff between it and the workardound, the difference would be:
By looking at this and the label:"contributor friendly", as a potential contributor I wonder: Maybe the
? |
I see I got this very much wrong:
OK, back to the source:
The original prototype of
It looks like both names should return
I think the original error message can be reduced to:
Now if I try to print the Still not sure what type should be returned by the translated function. |
Looks like this issue got fixed somewhere between 0.10.0-dev.2431+0e6285c8f and 0.10.0-dev.4060+61aaef0b0 (which just happen to be two versions I have lying around) |
So can this be closed? |
It can be closed when a test is added. |
The reduced version of this issue is trivial and doesn't reproduce on stage2 due to properly implementing #1947 test {
const a: bool = undefined;
_ = !a;
} |
Test case:
Workaround:
zig version: 0.9.0-dev.959+f011f1393
The text was updated successfully, but these errors were encountered: