c++/9298: [3.4 regression] [new parser] ICE with function-pointer-type template args
Volker Reichelt
reichelt@igpm.rwth-aachen.de
Wed Jan 15 22:16:00 GMT 2003
The following reply was made to PR c++/9298; it has been noted by GNATS.
From: Volker Reichelt <reichelt@igpm.rwth-aachen.de>
To: bangerth@ticam.utexas.edu
Cc: gcc-bugs@gcc.gnu.org, gcc-gnats@gcc.gnu.org
Subject: Re: c++/9298: [3.4 regression] [new parser] ICE with function-pointer-type template args
Date: Thu, 16 Jan 2003 00:12:15 +0100
On 15 Jan, Wolfgang Bangerth wrote:
> Values for pointer- or reference-type template arguments need to have
> _external_ linkage. "int i" does have that, "static void foo()" doesn't.
Argghh! Sorry again! You're right, of course. ISO-standard 14.3.2.
Regards,
Volker
More information about the Gcc-prs
mailing list