This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/30464] [regression] -Wconversion triggers warnings for deque<>::push_back()
- 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: 20 Jan 2007 12:32:35 -0000
- Subject: [Bug libstdc++/30464] [regression] -Wconversion triggers warnings for deque<>::push_back()
- References: <bug-30464-231@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #13 from manu at gcc dot gnu dot org 2007-01-20 12:32 -------
I am also interested in seeing if there are any (large signed) -> (small
unsigned) and bring them to the discussion, where all positive values fit in
the unsigned (so no warning) or there is a sign conversion.
About the (negative constant) -> unsigned type, I meticulously explained
everything I wanted to said in my long email (the warning has been there
forever, it was the only documented thing that Wconversion did until recently,
it was the reason for splitting Wconversion, etc). So, I won't go there again,
please, I would like to hear Joseph Myers's opinion. (And, in any case, I will
implement whatever is decided as soon as I can).
Meanwhile, let's see if those are the only issues with -Wconversion and
libstdc++.
I hope you are happy with this plan, ok?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30464