[WIP] Have -Wpointer-sign be enabled by -Wextra, too [PR109836]
Eric Gallager
egall@gwmail.gwu.edu
Tue May 30 21:42:10 GMT 2023
PR109836 is a request to have -Wpointer-sign enabled by default. There
were points of disagreement raised in the bug report, so I figured
that maybe as a compromise, the warning could just be enabled by
-Wextra, as well (I have in fact seen some projects that enable
-Wextra but not -Wall). This patch would implement my suggestion of
adding it to -Wextra, but it's not ready to commit yet, as it still
needs testing, documentation, and a ChangeLog entry. I'm just posting
it here as an RFC; what do people think?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-gcc_c-family_c.opt.diff
Type: application/octet-stream
Size: 551 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20230530/1f4e5f33/attachment.obj>
More information about the Gcc-patches
mailing list