[Bug c++/30500] pragma GCC system_header vs templates
manu at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Jan 20 12:43:00 GMT 2007
------- 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
More information about the Gcc-bugs
mailing list