]> xenbits.xensource.com Git - unikraft/libs/musl.git/commit
Makefile.uk: Silence warnings
authorAndrei Tatar <andrei@unikraft.io>
Wed, 28 Jun 2023 16:09:33 +0000 (18:09 +0200)
committerUnikraft <monkey@unikraft.io>
Mon, 7 Aug 2023 17:08:50 +0000 (17:08 +0000)
commitfac12e2db5dfa55af9d75251d1ad976c0c6eea4c
treea17e39e6071ff3d289a9ce6026d275f872325a6a
parentc548cb78c1efc013060538ee5ac26128d36529ca
Makefile.uk: Silence warnings

This commit changes several warning flags:
-Wno-error=sign-compare removed
-Wno-unused-value relegated to the glue code
-Wno-cast-function-type is sent to clang as well as GCC
-Wno-macro-redefined and -Wno-string-plus-int added for clang
-Wno-unused added for the entire library
-K&R-style declaration warnings silenced by -Wno-old-style-declaration
(GCC) or -Wno-deprecated-non-prototype (clang)
-Wno-unused-command-line-argument to silence assembler

Signed-off-by: Andrei Tatar <andrei@unikraft.io>
Reviewed-by: Stefan Jumarea <stefanjumarea02@gmail.com>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Closes: #61
Makefile.uk