News for hackers. Stuff that matters.
Re:How to properly use macros in C by Stratoscope on Sunday December 10, 2017 @05:13PM (#15893771)
Well, I'm sorry, but I agree with the lecturer. I've run into this problem myself.

In my case I had some cleanup code to run at the end of the function in an error case, so I used "goto fail;" instead of "return;". And then just to be sure it always worked, I put in the "goto fail;" twice!

Re:How to properly use macros in C by mkroman on Sunday December 10, 2017 @05:17PM (#15893792)
Spotted the Apple developer!
Re:How to properly use macros in C by tzahola on Sunday December 10, 2017 @06:04PM (#15893980)
Gave me a good chuckle.