What is the worst real-world macros/pre-processor abuse you’ve ever come across?
From memory, it looked something like this: #define RETURN(result) return (result);} int myfunction1(args) { int x = 0; // do something RETURN(x) int myfunction2(args) { int y = 0; // do something RETURN(y) int myfunction3(args) { int z = 0; // do something RETURN(z) Yes that’s right, no closing braces in any of the functions. … Read more