This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Warnings in templates
- From: Jason Merrill <jason at redhat dot com>
- To: mark at codesourcery dot com
- Cc: gcc at gcc dot gnu dot org, nathan at codesourcery dot com
- Date: Mon, 31 May 2004 16:29:57 -0400
- Subject: Re: Warnings in templates
- References: <200405311817.i4VIHqOv027013@sirius.codesourcery.com>
On Mon, 31 May 2004 11:17:52 -0700, Mark Mitchell <mark@codesourcery.com> wrote:
> Do you understand why we seem to be trying so hard to issue warnings
> about things like functions that do not return in templates?
The idea was to try to catch obvious errors as soon as possible. Certainly
we need to be conservative about it to avoid getting too many false
positives. I expected that the number of false positives would be small
compared to the number of true positives, so the warning would be
worthwhile overall. But I'm open to other views.
Jason