This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: eb103 -> committed
- To: Martin von Loewis <martin at mira dot isdn dot cs dot tu-berlin dot de>, egcs-patches at cygnus dot com
- Subject: Re: eb103 -> committed
- From: Robert Lipe <robertl at dgii dot com>
- Date: Sun, 31 May 1998 23:11:52 -0500
- References: <199805301236.OAA29783@mira.isdn.cs.tu-berlin.de>
Martin von Loewis wrote:
> This is illegal C++, and egcs detects that.
Committed. Thanx.
RJL
>
> Index: eb103.C
> ===================================================================
> RCS file: /egcs/carton/cvsfiles/egcs/gcc/testsuite/g++.old-deja/g++.robertl/eb103.C,v
> retrieving revision 1.1
> diff -c -p -r1.1 eb103.C
> *** eb103.C 1998/05/27 23:00:35 1.1
> --- eb103.C 1998/05/30 12:33:57
> *************** template <int nlimb, int i>
> *** 5,11 ****
> inline unsigned f (unsigned* ptr);
> template <int nlimb>
> inline unsigned f<nlimb,nlimb> (unsigned* ptr)
> ! {
> return 1;
> }
>
> --- 5,11 ----
> inline unsigned f (unsigned* ptr);
> template <int nlimb>
> inline unsigned f<nlimb,nlimb> (unsigned* ptr)
> ! { //ERROR - partial specialization of function?
> return 1;
> }
>
--
Robert Lipe http://www.dgii.com/people/robertl robertl@dgii.com
(WEB ADDRESS MAY BE TEMPORARILY UNAVAILABLE)