Skip to content

Remove duplicate diagnostic pragmas#171

Open
SamB wants to merge 2 commits into
google:mainfrom
SamB:clang-warnings
Open

Remove duplicate diagnostic pragmas#171
SamB wants to merge 2 commits into
google:mainfrom
SamB:clang-warnings

Conversation

@SamB
Copy link
Copy Markdown

@SamB SamB commented May 9, 2026

Clang has been unconditionally accepting the GCC diagnostic pragmas since before the clang pragmas were introduced in r71572.

This means we don't need to duplicate the pragmas for clang-cl's benefit.

Clang has been unconditionally accepting the GCC diagnostic pragmas
since before the clang pragmas were introduced in [r71572][1].

This means we don't need to duplicate the pragmas for clang-cl's
benefit.

[1]: llvm/llvm-project@b61448d
@SamB
Copy link
Copy Markdown
Author

SamB commented May 9, 2026

Note that I didn't commit release/c/wuffs-unsupported-snapshot.c because I'm allergic to commiting generated files without specific instructions to do so.

@nigeltao
Copy link
Copy Markdown
Collaborator

Please commit release/c/wuffs-unsupported-snapshot.c too. Thanks.

@SamB
Copy link
Copy Markdown
Author

SamB commented May 14, 2026

@nigeltao Ok, committed.

Tangentially-related silliness I started to rebase but thought better of it; I'm not sure why I thought commiting the C file would magically create merge conflicts when the only thing I changed is a literal that we paste at the beginning of the output, and there was no conflict in the literal itself ...

Turning on my brain, that would only happen if

  1. I changed how wuffs code is transformed and
  2. someone touched some affected code in another branch of history.

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.

2 participants