Skip to content

Turn on -Wall and copy diagnostic set from Google toolchain - #2541

Merged
GMNGeoffrey merged 4 commits into
iree-org:mainfrom
GMNGeoffrey:main
Jul 16, 2020
Merged

GMNGeoffrey merged 4 commits into
iree-org:mainfrom
GMNGeoffrey:main

Conversation

@GMNGeoffrey

@GMNGeoffrey GMNGeoffrey commented Jul 16, 2020 •

Copy link
Copy Markdown
Member

We already pass with all of these, but haven't had them enabled in OSS
builds. Rather than piecemeal enabling warnings, let's just turn ~all
of them on. This is pretty much the set used at Google (+/-, it's spread
across quite a few files so difficult to track everything down), so
this also reduces maintainer pain encountering these errors on import.

This will avoid having to do this one at a time like in
#2296 and
#2294 and
#2513

@GMNGeoffrey GMNGeoffrey changed the title Turn on -Wall and copy diagnostic set from Google internal Turn on -Wall and copy diagnostic set from Google toolchain Jul 16, 2020

@ScottTodd ScottTodd left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks!

@GMNGeoffrey
GMNGeoffrey merged commit e86278d into iree-org:main Jul 16, 2020
GMNGeoffrey added a commit to GMNGeoffrey/iree that referenced this pull request Jul 16, 2020
…#2541)

We already pass with all of these, but haven't had them enabled in OSS
builds. Rather than piecemeal enabling warnings, let's just turn ~all
of them on. This is pretty much the set used at Google (+/-, it's spread
across quite a few files so difficult to track everything down), so
this also reduces maintainer pain encountering these errors on import.

This will avoid having to do this one at a time like in
iree-org#2296 and
iree-org#2294 and
iree-org#2513
@ScottTodd ScottTodd mentioned this pull request Jul 16, 2020
@GMNGeoffrey GMNGeoffrey added the infrastructure Relating to build systems, CI, or testing label Jul 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infrastructure Relating to build systems, CI, or testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants