Re: g++ compiler bug. (Bug ID# 3887023)
Re: g++ compiler bug. (Bug ID# 3887023)
- Subject: Re: g++ compiler bug. (Bug ID# 3887023)
- From: Andrew Pinski <email@hidden>
- Date: Fri, 19 Nov 2004 09:26:48 -0500
On Nov 18, 2004, at 11:44 PM, Yarden Livnat wrote:
Greetings,
Any ideas why g++ refused (gcc 3.3/10.3.6 as well as gcc 3.2 on Red
Hat) to compile this code ?
Yes there was a bug in GCC before 3.4.0 that rejected it.
Any betters ideas how to workaround it ?
The workaround is to do:
template<typename X> void bad( Test &t) { t.template fun<int>(); }
Note the template there.
-- Pinski
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden