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: Idea to refine -Wtype-limits


On 26/11/2007, Gabriel Dos Reis <gdr@cs.tamu.edu> wrote:
>
> Template are tricky.  During phase one, we usually do as much of
> semantics analysis as we can, e.g. non dependent things get checked.
> In phase two, we check only things that were dependent.  So, if the
> enclosing function is generated from a template (and there is a way to
> know that), then we are checking something that was dependent in the
> first place.
>

Oh Gabriel, I missed this mail completely.

Do you know what is the way to check that?

Cheers,

Manuel.


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