[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Minios-devel] [UNIKRAFT/LWIP PATCH 5/5] Makefile.uk: Suppress 'unused parameters' warnings


  • To: minios-devel@xxxxxxxxxxxxx
  • From: Costin Lupu <costin.lupu@xxxxxxxxx>
  • Date: Wed, 4 Sep 2019 22:09:12 +0300
  • Cc: felipe.huici@xxxxxxxxx, simon.kuenzer@xxxxxxxxx, vlad_andrei.badoiu@xxxxxxxxxxxxxxx
  • Delivery-date: Wed, 04 Sep 2019 19:09:27 +0000
  • Ironport-phdr: 9a23:HDV1YR0P8U3BBuPwsmDT+DRfVm0co7zxezQtwd8ZseMQL/ad9pjvdHbS+e9qxAeQG9mCsbQd1Led6vqxEUU7or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6arXK99yMdFQviPgRpOOv1BpTSj8Oq3Oyu5pHfeQpFiCejbb9oMRm7rwXcusYLjYd8Lqs61wfErGZPd+lK321jOEidnwz75se+/Z5j9zpftvc8/MNeUqv0Yro1Q6VAADspL2466svrtQLeTQSU/XsTTn8WkhtTDAfb6hzxQ4r8vTH7tup53ymaINH2QLUpUjms86tnVBnlgzoBOjUk8m/Yl9Zwgbpbrhy/uhJxzY3aboaXO/pwZa7RYc8WSHBdUstLSyBNHoWxZJYPAeobOuZYqpHwqkUJrRulGQmsBeXvwSJOiH/rxa06zvkqHAba0wwnBNIOrHXUrNPvOKcWTOC11LTIwC7fYPNNwzv98JXIfQs7rfGWWrJ9aMzcwlQsGQPdllictIPoMy6P2ukOs2WX9fRsWfythmI9pQx9uiWjy8gxhoXThY8YykrI+Tt3zYs7P9G0VUF2bcCiHZBNrS+VLZF2TdknQ2xwvSY6zaAJtoCjcSgRzZQn2wbfa/uac4iU+h7jVPieITN/hH99ZrK/ggy98UmkyuHmSsa0y0xGrjJYktbXrHwNzRvT5tCGSvt74EihxS6C2x3c5+1ZO0w5lqrWJ4Q/zrIulJcfq0rOEjfzmErsja+Wcksk+vKv6+TierjpupicN5RoigH/NKQigMi/AfkgMggTRGWU5f+82Kf7/U3kW7pGlOc2kq7BvJDAOcsbvrK5AxNS0os77ha/DjGm0NUfnXkcNV5KZQyIj5b3NFHKO/34Cfa/g0+wkDdw3fzHMaPuApPXInjEirfhcq5361RAxwor0dBf+5VUB6kPIP3tXk/xtcTYAQEjPwy03ubnCcly1oIFVGKJHKCWLKfSvkWT6e41PeaMeZcfuCzhJPg9+/7ukXg5lEcGfamo2JsXb3a4Eu5lI0WEf3XshNYAHnkQvgclSuzllkGNUTpJaHmpRa4z+Cw7Apq8DYjfXoCtnKCB3CCjE51IYmBJEE2DHm/yeIWCRvgMcjydIs57njMfT7euVogh1RCztALh0LpnMvfU9TACuZ35yNd1/PfflQwq9TNvFcidyWaNHClImTYNRjk327s6rUFjx1Or1aljn+ceBdFVofRTXVQUL5nZmsd9EMzzXErlY8+UAAKtRc66ADd3Ss8p3vcFeABlBt/klBeVjHniOKMci7HeXM98yanbxXWkf8s=
  • Ironport-sdr: BMaBm2WyyBzZLCySNUaE/zHQFYQpxSC7GDjIeOq+We3h2wFOM6dV0LxrG+cFJ1PgUixpUsNl5/ ksBmX0iMCfAA==
  • List-id: Mini-os development list <minios-devel.lists.xenproject.org>

It's simpler to suppress the warning rather than add '__unused' qualifier each
time. This also seems it was the initial intention behind using
'-Wunused-parameter', given that all warnings are enabled by default.

Signed-off-by: Costin Lupu <costin.lupu@xxxxxxxxx>
---
 Makefile.uk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.uk b/Makefile.uk
index 99fc062..2292cb4 100644
--- a/Makefile.uk
+++ b/Makefile.uk
@@ -63,7 +63,7 @@ CXXINCLUDES-$(CONFIG_LIBLWIP) += -I$(LIBLWIP_BASE)/include 
-I$(LIBLWIP_EXTRACTED
 
################################################################################
 # Library flags
 
################################################################################
-LIBLWIP_CFLAGS-y += -Wno-type-limits -Wunused-parameter
+LIBLWIP_CFLAGS-y += -Wno-type-limits -Wno-unused-parameter
 LIBLWIP_CFLAGS-$(CONFIG_LWIP_DEBUG) += -DUK_DEBUG
 LIBLWIP_CFLAGS-y   += -D__IN_LIBLWIP__
 LIBLWIP_CXXFLAGS-y += -D__IN_LIBLWIP__
-- 
2.20.1


_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.