Correct the definition of capnp_use(x) macro. > recommended to surround macro arguments > in the replacement list with parentheses. This > ensures that the argument value is calculated > properly.
10 lines
210 B
C
10 lines
210 B
C
#include "c.capnp.h"
|
|
/* AUTO GENERATED - DO NOT EDIT */
|
|
#ifdef __GNUC__
|
|
# define capnp_unused __attribute__((unused))
|
|
# define capnp_use(x) (void) (x);
|
|
#else
|
|
# define capnp_unused
|
|
# define capnp_use(x)
|
|
#endif
|
|
|