This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/20145] [4.0/4.1 Regression] template "class has virtual functions ... " is not suppressed with -isystem
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Apr 2005 06:48:53 -0000
- Subject: [Bug c++/20145] [4.0/4.1 Regression] template "class has virtual functions ... " is not suppressed with -isystem
- References: <20050222155906.20145.micis@gmx.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-06 06:48 -------
(In reply to comment #7)
> The fact that something is in a system header does not in general cause the
> compiler not to warn about it. G++ does not issue certain pedantic warnings
> when in a system header, but this is not one of those.
Why does the non-template version does not warn then?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20145