Arjan van Staalduijnen wrote:
I was trying to implement a change to the macro which would make it safe, because we're using the call to this macro in lots of places and it would be hard to pinpoint all the problematic places.
Do yourself a favour and use the:
do { ...; } while(0)
construct as suggested earlier. Using the merely braced version introduces other problems (sometimes).