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