M
Michael B Allen
Hi,
I have a macro that looks like the following:
#define MMSG msgno_loc0(LOC0, LOC1) && msgno_mmsg0
which if used in some code like:
MMSG("foo=%s", foo);
would expand to [1]:
loc0(LOC0, LOC1) && msgno_mmsg0("foo=%s", foo);
My problem is that the GCC 64 bit compiler complains about this with:
warning: value computed is not used
Can someone recommend a change that can eliminate these warnings?
I'm drawing a blank.
Mike
[1] LOC0 and LOC1 are not shown expaned for the sake of simplicity
I have a macro that looks like the following:
#define MMSG msgno_loc0(LOC0, LOC1) && msgno_mmsg0
which if used in some code like:
MMSG("foo=%s", foo);
would expand to [1]:
loc0(LOC0, LOC1) && msgno_mmsg0("foo=%s", foo);
My problem is that the GCC 64 bit compiler complains about this with:
warning: value computed is not used
Can someone recommend a change that can eliminate these warnings?
I'm drawing a blank.
Mike
[1] LOC0 and LOC1 are not shown expaned for the sake of simplicity