Re: Is it time to take the middle-end stringop/array warnings out of -Wall?

Sam James via Gcc <[email protected]>
Newsgroups gmane.comp.gcc.devel
Organization Gentoo
Message-ID <[email protected]>
Arsen Arsenović <[email protected]> writes:

> Joseph Myers <[email protected]> writes:
>
>> The point is that if using -Wextra, you should expect some warnings
>> that are "hard to avoid ... no simple way to modify the code to
>> suppress the warning" (whereas such warnings are outside the
>> documented scope of -Wall).
>
> Yes, I agree.
>
> I'm just saying that I think that, beyond just moving into -Wextra, the
> wording needs to be made less certain ("there is" -> "there may be" or
> so).

So, something like:
1) move to -Wextra;
2) change phrasing;
3) add diagnostic group -Wmiddle-end (name pending);
4) drop from -Wextra now you can conveniently use them via the group.

then?

sam
signature.asc (application/pgp-signature, 418 B)
-----BEGIN PGP SIGNATURE-----

iQEBBAEWCgCpFiEEJaa7iN2bdkxrVUHCc4QJ9SDfkZAFAmoPLYsbFIAAAAAABAAO
bWFudTIsMi41KzEuMTIsMiwyXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25z
Lm9wZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQyNUE2QkI4OEREOUI3NjRDNkI1NTQx
QzI3Mzg0MDlGNTIwREY5MTkwDxxzYW1AZ2VudG9vLm9yZwAKCRBzhAn1IN+RkGPv
AQDLdqGYp9va/HU9ViWJVWqGdpcWspSbPo89SIgxCat65AEAl3BWcHcUlbvL1nYz
GElvfEN4zNx/tXjx8cjCmBjmxws=
=mRRU
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.