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

Issue #6640 Option to disable warnings as error #6737

Merged
merged 2 commits into from May 31, 2022
Merged

Conversation

stsoe
Copy link
Collaborator

@stsoe stsoe commented May 30, 2022

Problem solved by the commit

Provide build.sh option -disable-werror to disable warnings
as errors.

Bug / issue (if any) fixed, which PR introduced the bug, how it was discovered

Issue #6640

How problem was solved, alternative solutions (if any) and why they were rejected

Not willing to disable -Werror by default, since I can't seem to
find a good way to have it enabled for all internal builds including
all developers.

Risks (if any) associated the changes in the commit

Fixes #6640, maybe not exactly per comments, but close enough.

stsoe added 2 commits May 30, 2022 15:01
Provide build.sh option `-disable-werror` to disable warnings
as errors.

Not willing to disable `-Werror` by default, since I can't seem to
find a good way to have it enabled for all internal builds including
all developers.

Fixes Xilinx#6640, maybe not exactly per comments, but close enough.
@stsoe stsoe requested a review from rozumx as a code owner May 30, 2022 23:05
@gbuildx
Copy link
Collaborator

gbuildx commented May 31, 2022

Build Passed!

@stsoe stsoe merged commit aaff773 into Xilinx:master May 31, 2022
@stsoe stsoe deleted the no-werror branch May 31, 2022 03:39
Copy link
Member

@keryell keryell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

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.

XRT failing to compile on Ubuntu 22.04
3 participants