Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
`warning: unused parameter` when -Wextra is set to CFLAGS #39
Could you suppress these warnings?
Add the following macro to
#ifdef __GNUC__ #define UNUSED __attribute((unused)) #else #define UNUSED #endif
And then use the macro after unused parameters as follows: