Runtime code vs compile time conditional compilation

Mike Hearn mike at theoretic.com
Sun Feb 15 07:13:13 CST 2004


On Sun, 15 Feb 2004 14:47:28 +1100, John Birrell wrote:
> If I had my way, this sort of thing should be coded as a compile
> time test and only the code for the appropriate size compiled in. Is there some
> sort of direction for/from Wine developers for this kind of thing?

We typically favour runtime checks as Wine is intended to be binary
portable (compile once, run on lots of different distros etc).

I wouldn't consider a compiler warning a valid reason for removing this
sort of thing, the users benefit considerably from it.




More information about the wine-devel mailing list