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++/30500] pragma GCC system_header vs templates



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


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