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

build: always revert #pragma GCC diagnostic after use #12352

Closed
wants to merge 2 commits into from

Conversation

vszakats
Copy link
Member

@vszakats vszakats commented Nov 17, 2023

Before this patch some source files were overriding gcc warning options,
but without restoring them at the end of the file. In CMake UNITY builds
these options spilled over to the remainder of the source code,
effecitvely disabling them for a larger portion of the codebase than
intended.

#pragma clang diagnostic didn't have such issue in the codebase.

Closes #12352

Before this patch some source files were overriding gcc warning options,
but without restoring them at the end of the file. In CMake UNITY builds
this was unexpectedly overriding these option for the remainder of the
source code, effecitvely disabling them for a larger portion of the
codebase than intended.

Closes #xxxxx
@vszakats vszakats closed this in a9fd0d0 Nov 18, 2023
@vszakats vszakats deleted the gccwarnpop branch November 18, 2023 11:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

2 participants