[go: nahoru, domu]

Skip to content
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

Allow CRAS to compile by excluding some warnings from being treated as errors #4658

Merged
merged 1 commit into from
Jan 8, 2022

Conversation

myelin
Copy link
Contributor
@myelin myelin commented Jan 8, 2022

CRAS code triggers attributes, maybe-uninitialized, and stringop-overread warnings, and Crouton compiles it with -Werror, which turns all warnings into errors. This excludes those specific warnings from becoming errors, and allows CRAS to compile (under sid, at least).

Fixes #4618.

@myelin myelin mentioned this pull request Jan 8, 2022
@dnschneid dnschneid merged commit 5e0451d into dnschneid:master Jan 8, 2022
@dnschneid
Copy link
Owner

Thanks for fixing this!

@myelin myelin deleted the allow-cras-to-build branch January 8, 2022 00:53
@myelin
Copy link
Contributor Author
myelin commented Jan 8, 2022

🤦‍♂️ and this fails on focal because -Wstringop-overread didn't exist in that GCC version. I'll send a pull request in a bit to change it to just -Wno-error, once I've tested it on sid/focal/kali-rolling.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CRAS fails to compile
2 participants