This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/27403] T() can be an integer constant but is rejected as not one
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 08 Feb 2012 20:16:38 +0000
- Subject: [Bug c++/27403] T() can be an integer constant but is rejected as not one
- Auto-submitted: auto-generated
- References: <bug-27403-4@http.gcc.gnu.org/bugzilla/>
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()â