• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: g++ compiler bug. (Bug ID# 3887023)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >g++ compiler bug. (Bug ID# 3887023) (From: Yarden Livnat <email@hidden>)

  • Prev by Date: Re: Alert Noise on Parens, etc
  • Next by Date: XCode 1.5 - Information displayed under "Targets" group
  • Previous by thread: g++ compiler bug. (Bug ID# 3887023)
  • Next by thread: XCode 1.5 - Information displayed under "Targets" group
  • Index(es):
    • Date
    • Thread