Re: CodeWarrior vs. Xcode?
Re: CodeWarrior vs. Xcode?
- Subject: Re: CodeWarrior vs. Xcode?
- From: Dix Lorenz <email@hidden>
- Date: Sun, 18 Apr 2004 12:15:35 +0200
On 18.04.2004, at 01:38, Kay Roepke wrote:
I know next to nothing about CodeWarrior and their compiler, but if it
does compile natively for x86 platforms go with that!
You don't want to get sucked into the black hole of incompatibilities
of various C/C++ compilers. Trust me.
On the one hand: Good advice. OTOH: There is a lot of advantages if you
have your crossplatform-code compile cleanly on different compilers. I
have been developing a library for a few years now and it compiles and
runs on gcc (2.92 -> 3.3), CW and VC. Because I was able to compare my
code (compiling as well as running) I found a few bugs in each of the
compilers. If I hadn't had the ability to compare, I probably would
have blamed my code and tried to fix a bug that's not even there. Also
every compiler has different problem areas and warnings: Quite a few
times a new compiler release brought new warnings and in 3 instances (I
think) they actually pointed towards problems in my code. Ambiguities,
wrong type conversions, constructor-related stuff...
I am very confident in the library and when compiling problems occur in
a new compiler release I can be pretty sure it is a bug in the compiler
because syntactically the code has to be very clean to compile cleanly
on three very different compilers. Very important: Don't ignore or hide
warnings, understand them and make them disappear by correcting your
code.
Greetings,
Dix
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.