ron minnich wrote:
I think this is one reason the Bell Labs crowd started using: if (preprocessor_symbol == value)
That's the C compilers job, after all ...
The more code I see, the more I agree with them.
I can see the point. But I also think excluding code from compilation is a big feature, especially in firmware.
If we can do it in a smarter way, that could be good, but on the other hand things can be too smart as well.
It's a balance..
//Peter