-
Notifications
You must be signed in to change notification settings - Fork 321
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 fails with LTO #646
Comments
Presumably this is due to, |
Do you mean accepting arguments and then just silently never using their values for any purposes? |
Not precisely. In standard C, The issue with Plan 9 C is that One wonders if there's a magic flag that would tell the linker, "ignore type mismatches for this particular function." If so, that's the simplest fix. |
I tried to build with these *FLAGS set:
-flto=4 -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing
I got this compiler error:
Downstream report: https://bugs.gentoo.org/858452
The text was updated successfully, but these errors were encountered: