This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/12531] Error specializing a class template to form a default value of a constructor argument
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Oct 2003 01:48:32 -0000
- Subject: [Bug c++/12531] Error specializing a class template to form a default value of a constructor argument
- References: <20031006211542.12531.jfranzoy@yahoo.com.ar>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12531
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |rejects-valid
Last reconfirmed|0000-00-00 00:00:00 |2003-10-07 01:48:31
date| |
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-10-07 01:48 -------
I can confirm this on the mainline (20031006). ICC accepts this. A workaround is to use a static
constant variable in the struct JCF.