Add GCC diagnostics to suppress unused-parameter warnings
This commit is contained in:
parent
ea51baa33e
commit
a4a6412210
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue