Skip to content
Commit 179c46be authored by Daniel Leung's avatar Daniel Leung Committed by Fabio Baltieri
Browse files

syscall: Z_SYSCALL_VERIFY_MSG to ignore -Wshadow



Z_SYSCALL_VERIFY_MSG() does LOG_MODULE_DECLARE() internally to
log errors during verification. However, this is definitely
going to conflict with any LOG_MODULE_DECLARE() in the source
file using Z_SYSCALL_VERIFY_MSG(). So we need to selectively
disable -Wshadow for Z_SYSCALL_VERIFY_MSG() to avoid compiler
warnings as this is an intentional behavior.

Signed-off-by: default avatarDaniel Leung <daniel.leung@intel.com>
parent 8dc9d89d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment