• 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: Re[4]: GCC 3.3 template compile error?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re[4]: GCC 3.3 template compile error?


  • Subject: Re: Re[4]: GCC 3.3 template compile error?
  • From: Steve Checkoway <email@hidden>
  • Date: Sat, 13 Oct 2007 20:12:24 -0700


On Oct 13, 2007, at 7:35 PM, Peter Mulholland wrote:

I will honestly admit it was a wild guess. I port games from Windows
to Mac and I'm *always* having to f*** about with GCC's dumbness when
parsing C++ template and STL stuff.

I will admit that I have had to deal with this a number of times in a cross platform game. One developer will write code that VC accepts and then I'll have to spend several hours reading the standard trying to figure out what the correct way to do it is. Before I switched everything to gcc 4, I was building ppc with gcc 3 and I'd get something that would compile for me, I'd commit it and then when it came time to do a universal build, I'd find that gcc 4 would choke on it.


Sunday, October 14, 2007, 3:20:23 AM, you wrote:
Then again, this standard is anything but clear.

True - but what Visual C++ does, IMO, is "right". GCC requires "hand holding", often annoyingly so.


I don't know about that. Gcc 4 seems to be pretty good about upholding the standard. I'd _much_ rather write code for the standard (even when the standard is broken, which is something that I ran into a while back--there should be a list message about it in the archives) than depend on what Microsoft has decided was the standard.

Being permissive is not a good thing. Look at the interoperability issues web programming has because browsers decided to be permissive rather than just giving up as soon as there was an error. Had they all done that, it would be so simple to write webpages that everyone can view.

--
Steve Checkoway



Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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: 
 >GCC 3.3 template compile error? (From: "Tim Conkling" <email@hidden>)
 >Re: GCC 3.3 template compile error? (From: "Clark Cox" <email@hidden>)
 >Re: GCC 3.3 template compile error? (From: "Tim Conkling" <email@hidden>)
 >Re[2]: GCC 3.3 template compile error? (From: Peter Mulholland <email@hidden>)
 >Re: Re[2]: GCC 3.3 template compile error? (From: Steve Checkoway <email@hidden>)
 >Re[4]: GCC 3.3 template compile error? (From: Peter Mulholland <email@hidden>)

  • Prev by Date: Re[4]: GCC 3.3 template compile error?
  • Next by Date: Re: Re[2]: GCC 3.3 template compile error?
  • Previous by thread: Re[4]: GCC 3.3 template compile error?
  • Next by thread: Re: Re[2]: GCC 3.3 template compile error?
  • Index(es):
    • Date
    • Thread