This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: c++/9298: [3.4 regression] [new parser] ICE with function-pointer-type template args


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]