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