-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Sunday 15 February 2004 21:11, Alexandre Julliard wrote:
The compiler warning attracted my attention to code that if believe would be better as a #if.
No, using normal code is always better than #ifdefs. This way all the code gets compiled and checked for errors, plus you don't need to write autoconf magic for things that the compiler can do itself.
And a half-decent compiler will figure out that those checks are constant anyway and optimize the dead code away.
(But then there's allways the issue of trusting your compiler to do the job right...)
Florian