[Bug c++/11856] unsigned warning in template
gdr at cs dot tamu dot edu
gcc-bugzilla@gcc.gnu.org
Wed Jan 17 01:30:00 GMT 2007
------- Comment #16 from gdr at cs dot tamu dot edu 2007-01-17 01:30 -------
Subject: Re: unsigned warning in template
"manu at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> writes:
| (In reply to comment #14)
| > | We don't emit a warning when instantiated as a signed char, so everything
| > boils
| > | down to having an option to disable the warning, doesn't it?
| >
| > the logical inference escapes me.
| >
|
| Is having an option to disable the warning the right fix for this PR or is it
| not?
You made an inference in an earlier message, and I would like to
understand it. Because, I do not believe a nobe in form
of "hey, you can silence it with with sledge-hammer" is the solution to this
particular type of constructs -- note that constants are involved.
Care to explain further your earlier message?
-- Gaby
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11856
More information about the Gcc-bugs
mailing list