Harald van D?k
5/9/2011 5:49:00 AM
On May 8, 7:01 am, Shao Miller wrote:
> kid joe wrote:
>
> > #ifdef INACTIVATE
> > #define E(val)
> > #else
> > #define E(val) printf("%d\n", (val))
> > #endif
>
> What about:
>
> #ifdef INACTIVE
> # define E(val) ((void)(val))
> #else
> # define E(val) (printf("%d\n", (val)))
> #endif
>
> ? :)
Your solution, while valid, was posted more than three months after
the previous post in the thread, which already suggested the same
thing.