4 ms·
Hm, still not quite sure how that'd help; one still has to edit all that places, no? and in case one had "#else nothing", I don't see how that's more useful in
by akavel 11y ago
Hm, still not quite sure how that'd help; one still has to edit all that places, no? and in case one had "#else nothing", I don't see how that's more useful in any way. And the suggested "do something sensible by default" - if one could, one wouldn't have the ifdefs at all I suppose.
- Mathiasdm 11y agoOne possibility would be to have #else #error #endif If you work this way, you immediately know where to change your code.