[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Minios-devel] [UNIKRAFT/NEWLIB PATCH 01/16] glue: Suppress 'unused parameters' warnings
- To: minios-devel@xxxxxxxxxxxxx
- From: Costin Lupu <costin.lupu@xxxxxxxxx>
- Date: Thu, 22 Aug 2019 13:10:41 +0300
- Cc: felipe.huici@xxxxxxxxx, charalampos.mainas@xxxxxxxxx
- Delivery-date: Thu, 22 Aug 2019 10:11:11 +0000
- Ironport-phdr: 9a23:DDpsohZaH8LTf/upLRFBQX3/LSx+4OfEezUN459isYplN5qZr8SybnLW6fgltlLVR4KTs6sC17OM9fm8BCdaut6oizMrSNR0TRgLiMEbzUQLIfWuLgnFFsPsdDEwB89YVVVorDmROElRH9viNRWJ+iXhpTEdFQ/iOgVrO+/7BpDdj9it1+C15pbffxhEiCCybL9vMhm6txjdu8YWjIdtNKo8xAbCr2dVdehR2W5mP0+YkQzm5se38p5j8iBQtOwk+sVdT6j0fLk2QKJBAjg+PG87+MPktR/YTQuS/XQcSXkZkgBJAwfe8h73WIr6vzbguep83CmaOtD2TawxVD+/4apnVAPkhSEaPDM/7WrZiNF/jLhDrRyhuRJx3oDaboKSOvV8cKPQZs8WSXZbU8pNTSFNHp+wYo0SBOQBJ+ZYqIz9qkMQoBu5HgmsGOLvyjlVjXHwwK06y/khGhzB0QM8GNIOq2jUrNTzNKsIVeC10bHIzSjYYvxKwjfx8pDIcg06rv2WR7JwdtPcxE8yHA3GllWdsZHpMjyI2ugXsGWW7/BsWfyxh2MlsQ18rCCjytojh4XUnI4YyVDJ+T9nzIs7K9C0UlN3bNG6HJZWqiqULZF5Qtk4TGFtoCs6z7oGtoOlcyUS05QnwgLfa+SAc4iV/hLvTOaRLil8hHJiYL+/mROy/lKhyu34TMW7zE1KojBdktnRrX8BzQbT6s+fRvt8+EeuxyqP2hjO5uxLPEw4j6nWJp47zrIuiJYes17PEyHulEXzlqCWd0Ek+uay6+TgZ7XrvoOTN4hvigHiM6QunNazAeAlMggWQmiW4viz1Kb58U3hXbVFlec6krPesJzCP8QUura5AxNJ0oYk8xu/Cjam0NIZnXkAN1JJYQ+IgJb3O17QJPD1FvO/g1W3kDd33PDKJLLgDYvLLnTZl7fhZ7l94VZGyAUv1dBf+45UCrYZLf3vWk/+rsbYAQU9MwOuxubnENJ91pgEVWKKGKCZMaXSvkWT5u80JemDepMauDLnJPc+/fLhk2I5k0cHfaa1xZsXdGy4HvN+LkWXf3XshtYBEX8UsQYkTOzqlVyCXiJSZ3upWaIz+C00CIa8AojYXIyinqGBj2+HGchTZ2ZHDUvJHXr2eoGsX/YXdDnUMsJn1DseWuuPUYgkgDqprxP7zfJDM/LJsnkTson/1d4z4/DLiDk57npsEs7byWbbHDI8pX8BWzJjhPM3mkd60FrWiaU=
- Ironport-sdr: VjSNAPSzyyVTqNAXKNeKPrMpQCKNxLQEnL0ytAHq139TczABnd8PxwKjZ/vvR3vnpuszD7P+qj nwxeEVF7qfeA==
- 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.
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 12e5e7e..f7e2b6e 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
################################################################################
--
2.20.1
_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel
|