Re: Re[4]: GCC 3.3 template compile error?
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