-Wextra and unsigned template parameters
Joe Buck
Joe.Buck@synopsys.COM
Wed May 10 17:23:00 GMT 2006
On Wed, May 10, 2006 at 12:30:33PM -0400, Andrew Pinski wrote:
> > I think that the warning is useful if the comparison is *always* true for
> > any call of foo<anything>. But here, whether the test is redundant or not
> > depends on the type of bar. Possibly there's a way to determine that the
> > type of bar is a template argument and suppress the warning in that case.
>
> Why are we talking so much in this thread and not fixing the bug?
Because there is a question about what the correct fix is.
More information about the Gcc
mailing list