mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-08-25 21:15:00 +00:00
Ignore unused parameters warning
This commit is contained in:
3
Makefile
3
Makefile
@@ -47,7 +47,8 @@ LDFLAGS := -Wl,-Map kernel.map -static -nostdlib -nodefaultlibs -nolibc
|
|||||||
WARNCFLAG = -Wall -Wextra \
|
WARNCFLAG = -Wall -Wextra \
|
||||||
-Wfloat-equal -Wpointer-arith -Wcast-align \
|
-Wfloat-equal -Wpointer-arith -Wcast-align \
|
||||||
-Wredundant-decls -Winit-self -Wswitch-default \
|
-Wredundant-decls -Winit-self -Wswitch-default \
|
||||||
-Wstrict-overflow=5 -Wconversion -Wno-error=cpp -Werror
|
-Wstrict-overflow=5 -Wconversion -Wno-error=cpp -Werror \
|
||||||
|
-Wno-unused-parameter
|
||||||
|
|
||||||
# https://gcc.gnu.org/onlinedocs/gcc/x86-Options.html
|
# https://gcc.gnu.org/onlinedocs/gcc/x86-Options.html
|
||||||
CFLAGS := \
|
CFLAGS := \
|
||||||
|
Reference in New Issue
Block a user