This is the mail archive of the gcc-bugs@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]

[Bug libstdc++/30464] [regression] -Wconversion triggers warnings for deque<>::push_back()



------- 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


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