Merge pull request #7 from andresag01/master

Add GCC diagnostics to suppress unused-parameter warnings
master
LIYOU ZHOU 7 years ago
commit 13cb06829e

@ -43,6 +43,7 @@
#elif defined (__GNUC__)
#define SVCALL(number, return_type, signature) \
_Pragma("GCC diagnostic ignored \"-Wunused-function\"") \
_Pragma("GCC diagnostic ignored \"-Wunused-parameter\"") \
_Pragma("GCC diagnostic push") \
_Pragma("GCC diagnostic ignored \"-Wreturn-type\"") \
__attribute__((naked)) static return_type signature \

Loading…
Cancel
Save