>Rule #4: Use only built in #ifdef compiler flags, do not invent your own
Actually you can separate the source code into src/linux src/w32 src/mac -- but that is just my preference.
>Rule #9: Require all programmers to compile on all platforms
No no no -- build has to take no more than a make command. Anything else is just domed to failure.