You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've spent quite a lot of time chasing down an issue with a new Rust target, which turned out to be the vendor's stdint.h not including UINT64_C. This produced a warning (and a call to an imagined function int UINT64_C(int), because C) but that scrolled past quickly and didn't stop the build.
Perhaps we could enable -Werror on the CC crate when building the C code to catch this kind of things in the future.
The text was updated successfully, but these errors were encountered:
Sure, I think it's fine to enable it for specific warnings. Just not a blanket -Werror. Also make sure the compiler in question actually supports flag.
I've spent quite a lot of time chasing down an issue with a new Rust target, which turned out to be the vendor's stdint.h not including UINT64_C. This produced a warning (and a call to an imagined function
int UINT64_C(int)
, because C) but that scrolled past quickly and didn't stop the build.Perhaps we could enable
-Werror
on the CC crate when building the C code to catch this kind of things in the future.The text was updated successfully, but these errors were encountered: