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 c++/36760] Simple std::bind use causes warnings with -Wextra



------- Comment #2 from paolo dot carlini at oracle dot com  2008-07-08 01:40 -------
By the way, apparently, even after the fix for c++/32256 and c++/32368,
warnings keep coming from inside the system headers... Any idea why, Tom?
Another case would be this one:

  http://gcc.gnu.org/ml/libstdc++/2008-06/msg00080.html

Is it because these warnings are really spuriously coming from the middle-end
per the audit trail of the latter issue, PR 36633 ?

Thus, assuming we generically want this warning (as I understand from the audit
trails of PR 30601), the real issue is fixing the C++ front-end to not pass
bogus stuff to the middle-end? Or the two issues are different?

One final remark: if we add -Wsystem-headers to the command line *many* more
type qualifiers ignored warning are emitted, a tiny part somehow escapes...


-- 

paolo dot carlini at oracle dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |manu at gcc dot gnu dot org,
                   |                            |tromey at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2008-07-08 01:40:48
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36760


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