This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/30500] pragma GCC system_header vs templates
- From: "manu at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Jan 2007 12:43:21 -0000
- Subject: [Bug c++/30500] pragma GCC system_header vs templates
- References: <bug-30500-133@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from manu at gcc dot gnu dot org 2007-01-20 12:43 -------
Note: we emit a duplicated warning because this patch is not committed yet:
http://gcc.gnu.org/ml/gcc-patches/2006-12/msg00799.html
(Not a single comment yet).
With the patch the output is just:
int g() T h() int main() int g() [with T = int]
pr30500.cc:6: instantiated from here
pr30500.h:11: warning: conversion to ?int? from ?double? may alter its value
T h() [with T = int]
pr30500.cc:7: instantiated from here
pr30500.h:18: warning: conversion to ?int? from ?double? may alter its value
Of course, that has little to do with the pragma issue. This is mostly a note
to myself ;-)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30500