This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/21903] [3.4/4.0/4.1 regression] Default argument of template function causes a compile-time error
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Jun 2005 14:27:52 -0000
- Subject: [Bug c++/21903] [3.4/4.0/4.1 regression] Default argument of template function causes a compile-time error
- References: <20050603201311.21903.SSacek@appsecinc.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bangerth at dealii dot org 2005-06-06 14:27 -------
Sure it is a regression: gcc3.3.x compiles it just fine, and so does 3.2.x.
gcc2.95 ICES, and from 3.4 onward we have the present error.
W.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |bangerth at dealii dot org
Keywords| |rejects-valid
Known to work| |3.2.3 3.3.5
Summary|Default argument of template|[3.4/4.0/4.1 regression]
|function causes a compile- |Default argument of template
|time error |function causes a compile-
| |time error
Target Milestone|--- |3.4.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21903