[Qt-interest] 64-bit conditional compile
Kustaa Nyholm
Kustaa.Nyholm at planmeca.com
Wed May 12 13:12:30 CEST 2010
>> That is not really a conditional compile, I'd say. That is a runtime
>> evaluation, which can be expensive if you do it often.
>
> Not really. That's an always-true or always-false value that is optimised by
> the compiler. Impact is zero.
And has the added benefit and the compiler actually checks for errors
on both code paths, where as with conditional compile it doesn't. On
the other hand if this may also be a nuisance if there is something that
only compiles cleanly in 32/64 bit arc.
br Kusti
More information about the Qt-interest-old
mailing list