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


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