Re:Some dark corners of C
by nostrademons on Saturday March 09, 2013 @12:46PM
(#5349037)
The #define else one is scarier to me. #define struct union will almost certainly crash immediately on runtime, as one member's a pointer and it gets overwritten by an int or a pointer to a different type. #define else just always runs all else clauses - the code is likely still valid, it just does something very different from what the author intended.
Both of them would be a real pain to debug.