This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Unreviewed patch: -Wcast-qual warnings
- From: Jason Merrill <jason at redhat dot com>
- To: Richard Sandiford <rsandifo at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 01 Feb 2002 23:20:55 +0000
- Subject: Re: Unreviewed patch: -Wcast-qual warnings
- References: <wvn8zaeobkk.fsf@talisman.cambridge.redhat.com>
OK. WRT the doc patch, it's mostly OK. I'd avoid talking about cv-quals
in terms of subtypes; IMO it just muddies the waters. The first paragraph
covers things pretty well. In the examples, you might clarify why use of
fatalp would be a problem; namely, that since the caller does not expect
the call to return, the called function would return into random code.
Jason