From: Costin Lupu Date: Thu, 22 Aug 2019 10:10:41 +0000 (+0300) Subject: glue: Suppress 'unused parameters' warnings X-Git-Tag: RELEASE-0.4~65 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=ee0f1b83132627c0e31e64c08d460fac722ddaa0;p=unikraft%2Flibs%2Fnewlib.git glue: Suppress 'unused parameters' warnings It's simpler to suppress the warning rather than add '__unused' qualifier each time. Signed-off-by: Costin Lupu Reviewed-by: Charalampos Mainas --- diff --git a/Makefile.uk b/Makefile.uk index 4b6d59a..54896c6 100644 --- a/Makefile.uk +++ b/Makefile.uk @@ -99,6 +99,10 @@ LIBNEWLIBM_CFLAGS-y += $(LIBNEWLIB_SUPPRESS_FLAGS-y) LIBNEWLIBC_CXXFLAGS-y += $(LIBNEWLIB_SUPPRESS_FLAGS-y) LIBNEWLIBM_CXXFLAGS-y += $(LIBNEWLIB_SUPPRESS_FLAGS-y) +LIBNEWLIBGLUE_SUPPRESS_FLAGS-y += -Wno-unused-parameter +LIBNEWLIBGLUE_CFLAGS-y += $(LIBNEWLIBGLUE_SUPPRESS_FLAGS-y) +LIBNEWLIBGLUE_CXXFLAGS-y += $(LIBNEWLIBGLUE_SUPPRESS_FLAGS-y) + ################################################################################ # OS dependencies code - Glue between Unicore and newlib ################################################################################