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++/27403] T() can be an integer constant but is rejected as not one


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27403

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-02-08 20:16:38 UTC ---
t4.cc:4:17: error: type/value mismatch at argument 1 in template parameter list
for âtemplate<int <anonymous> > struct Aâ
t4.cc:4:17: error:   expected a constant of type âintâ, got âT()â


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