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).
--
Sincerely,
Stephen R. van den Berg.
"There are three types of people in this world: those who make things happen,
those who watch things happen and those who wonder what happened."