mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-21 06:33:31 +00:00
dde_bsd: prevent ‘nonnull’ argument warning
The implementation conflicted with the implicit declaration of bzero: .../repos/dde_bsd/src/lib/audio/mem.cc: In function ‘void bzero(void*, size_t)’: .../repos/dde_bsd/src/lib/audio/mem.cc:377:2: warning: ‘nonnull’ argument ‘b’ compared to NULL [-Wnonnull-compare]
This commit is contained in:
parent
c585e008b1
commit
cd25dc4e6a
@ -21,7 +21,8 @@ CC_OPT += -Wno-unused-but-set-variable
|
||||
|
||||
# disable builtins
|
||||
CC_OPT += -fno-builtin-printf -fno-builtin-snprintf -fno-builtin-vsnprintf \
|
||||
-fno-builtin-malloc -fno-builtin-free -fno-builtin-log -fno-builtin-log2
|
||||
-fno-builtin-malloc -fno-builtin-free -fno-builtin-log -fno-builtin-log2 \
|
||||
-fno-builtin-bzero
|
||||
|
||||
CC_OPT += -D_KERNEL
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user