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

[Minios-devel] [UNIKRAFT/COMPILER-RT PATCH] Supress unused-parameter warnings


  • To: minios-devel@xxxxxxxxxxxxx
  • From: Costin Lupu <costin.lupu@xxxxxxxxx>
  • Date: Sun, 2 Jun 2019 16:27:43 +0300
  • Cc: felipe.huici@xxxxxxxxx
  • Delivery-date: Sun, 02 Jun 2019 13:28:00 +0000
  • Ironport-phdr: 9a23:TZjodBSPZFiTky+Mbn5uRPwFkdpsv+yvbD5Q0YIujvd0So/mwa6yZRaN2/xhgRfzUJnB7Loc0qyK6vmmADddqsja+Fk5M7V0HycfjssXmwFySOWkMmbcaMDQUiohAc5ZX0Vk9XzoeWJcGcL5ekGA6ibqtW1aFRrwLxd6KfroEYDOkcu3y/qy+5rOaAlUmTaxe7x/IAiroQnLq8Ubj4tvJqkwxxbHv3BFZ/lYyWR0KFyJgh3y/N2w/Jlt8yRRv/Iu6ctNWrjkcqo7ULJVEi0oP3g668P3uxbDSxCP5mYHXWUNjhVIGQnF4wrkUZr3ryD3q/By2CiePc3xULA0RTGv5LplRRP0lCsKMSMy/WfKgcJyka1bugqsqRxhzYDJbo+bN/1wc7jBcd8GX2dNQtxcWzBdDo66coABD/ABPeFdr4TluVYOqgC+BRWtBOPp1zRGgGL23bUn0+88FgzJwAsgH8kSsHTVqtX5LqMSUf2tzKnV1jjMc+hW1S3l6IjVaR8tu+uMXbVpfMfX1EIhFBvFg02NpYHqIj+ZzOcAvmiB4+Z+S+6iiXQrpg9prjSyycogl5PFi4EVx1ze6yl0zog4KcelREN0f9KpFoZbuTuAOItsWMwiRnlluCM9yrIbp5G2ZDMKyJE7xx7HbPyHbpSI7grjVOmPJTd4g2poeKy6hxmo8EigzvfwWdWv0FpQtipFj8LDumoX1xzU8sSHS/198Vm92TuXygze5fxILVo3mKfbMZIt3KA8m5gJvUnNBiP2nV/5jK6SdkUq4Oio7OHnb636qZ+bLI90lgD+MqI0lsy7HOQ4KhUOUnOH9uSnzrHj5VD5T65Qgv0slanVqIraKtgDpq6lHw9V1Z4u6xO+Dzeg0dQYmmIHIEtYdx2ZkYjmJVXOLev8Dfe+mFSsjCxry+rJP7L/BJXBNH/DkK3ufbxl8U5T1BIzzcxD55JTErwBLuz8WkvwtNzAEBA1KQy0w/vmCNph14MTQmSPDbGFP6PWq1CH/fgjLPeRZNxdhDGoLvkj5vn1yHM0h1IZVa2oxocMLmC1GLJhOUrKT2Drh4IqFnwWvwx2aPHylRXWWjlIe3e0GaYh/iwTA5ngFZrJAJqq1u/SlBynF4FbMzgVQmuHFm3lIt2J
  • Ironport-sdr: MoGqLQl6Uo8B2D8wRkWNJ+Hij5lOxixojqQiYykGdC/gXvLwQObUlSKFgD9gDyU6rMIE7i2i3y rj36uJ73MIiw==
  • List-id: Mini-os development list <minios-devel.lists.xenproject.org>

Origin code generates "unused-parameter" warnings.

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

diff --git a/Makefile.uk b/Makefile.uk
index 685d46e..4d78b4a 100644
--- a/Makefile.uk
+++ b/Makefile.uk
@@ -73,6 +73,10 @@ CONFIG_FLAGS += -D__x86_64__
 LIBCOMPILER_RT_CFLAGS-y    +=  $(CONFIG_FLAGS)
 LIBCOMPILER_RT_CXXFLAGS-y    +=  $(CONFIG_FLAGS)
 
+SUPPRESS_FLAGS += -Wno-unused-parameter
+LIBCOMPILER_RT_CFLAGS-y   += $(SUPPRESS_FLAGS)
+LIBCOMPILER_RT_CXXFLAGS-y += $(SUPPRESS_FLAGS)
+
 
################################################################################
 # Library sources
 
################################################################################
-- 
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®.