Skip to content

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

Closed
vszakats wants to merge 2 commits into
curl:masterfrom
vszakats:gccwarnpop
Closed

build: always revert #pragma GCC diagnostic after use#12352
vszakats wants to merge 2 commits into
curl:masterfrom
vszakats:gccwarnpop

Conversation

@vszakats

@vszakats vszakats commented Nov 17, 2023

Copy link
Copy Markdown
Member

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.

2 participants