This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Warnings in templates


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]