This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/11856] unsigned warning in template
- From: "manu at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Jan 2007 01:11:45 -0000
- Subject: [Bug c++/11856] unsigned warning in template
- References: <bug-11856-781@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #15 from manu at gcc dot gnu dot org 2007-01-17 01:11 -------
(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?
If it is, there is a patch pending review.
If it is not, could you explain what would be the correct behaviour?
Thanks.
--
manu at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|manu at gcc dot gnu dot org |unassigned at gcc dot gnu
| |dot org
Status|ASSIGNED |NEW
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11856