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: "pcarlini at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Jan 2007 00:30:12 -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 #6 from pcarlini at suse dot de 2007-01-15 00:30 -------
(In reply to comment #5)
> Sorry I read your reply later.
>
> So, that is it, isn't it? Wsystem-headers needs to be fixed since we don't want
> to emit warnings for system headers even if those warnings are correct.
Well, first we don't know when, how, if, the pragma system_header will be ever
fixed. Then, assuming the warning is correct, certainly we want to adjust the
library, that, in my opinion, makes certainly for good engineering (in fact, we
are generally relying on the effect of the pragma only in very few,
last-resort, situations). Alternately, never emit the warning, of course.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30464