Original Post
I'm working on multiplatform games right now, and I wanted to deal with multiple versions without resorting to interlocking #ifdef's in my code. My idea was to split up code into several functions, and then have certain functions do something else depending on the platform. What I want to know is, if one of these functions does strictly nothing, will a decent optimizer remove any calls to it?