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

[Minios-devel] [UNIKRAFT/PTHREAD-EMBEDDED 2/2] Makefile.uk: Restrict pointer-to-int-cast and int-to-pointer-cast warnings only to C


  • To: minios-devel@xxxxxxxxxxxxx
  • From: Costin Lupu <costin.lupu@xxxxxxxxx>
  • Date: Wed, 5 Jun 2019 11:01:20 +0300
  • Cc: felipe.huici@xxxxxxxxx
  • Delivery-date: Wed, 05 Jun 2019 08:02:01 +0000
  • Ironport-phdr: 9a23:hm9gERBadZIMcYzDi4uZUyQJP3N1i/DPJgcQr6AfoPdwSPT6rsbcNUDSrc9gkEXOFd2Cra4d0qyP7/mrADZeqb+681k6OKRWUBEEjchE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i764jEdAAjwOhRoLerpBIHSk9631+ev8JHPfglEnjWwba5vIBmssAncudQajYR/JqovyxbCv2dFdflRyW50P1yYggzy5t23/J5t8iRQv+wu+stdWqjkfKo2UKJVAi0+P286+MPkux/DTRCS5nQHSWUZjgBIAwne4x7kWJr6rzb3ufB82CmeOs32UKw0VDG/5KplVBPklCEKPCM//WrKiMJ/kbhbrQqhqRJh3oDaboKbOv18caPTZt4WWXZNU9xNWyFbHo+wc40CBPcBM+ZCqIn9okMDoAW5BQm3GOPvyzlIjWLw060ny+QhDBzN0Qs8ENIJq3TUsNT1NKEIXeCx0anI1SjDYuhK1jfm8oTIag0hruqWUbJqdsrc0E8iHB7GgFWIsYHpIjyY2vkXv2WY7+dsT/yjh3Alpg1rrDWj3togh4bUio4PyV3J9T91zJg7KNC2UkJ3fNGpHIVWuiqHLYV5WNkiTHttuCsiz70GvoO0czYSxZQ8wh7fd+SHc4+V4hL/TOqRISl3hHZieL+nmRay9FKvyuz4VsWuzFlKtTBJksHRtn8WzRDT8M+HRuN8/kenxzmPyxje5vxLLEwpj6bWKJ4szqQumpYNs0nPBCH7lF3zjKCMd0Uk/uao6/7gYrXjvpKTK4h0ihriMqQvnMyzG+A4MhUWX2iG4umzyKbj8VfhQLVXlfI6iLPZsJfCKcQBuqG5GxNV0pok6xunCjem0dIYnXgALFJeYR6IkpbmO0/QL/D8Fvq/h1WskCx3x/DdJLHgDYvCLn7ZnLfmZ7Z95FZWyBAvwtBH+5JUFrYBLer9WkDvsNzYDwc5PBKuz+bnFdV9158RWWOUD6+fLqzdrVuI6fg0LOWWeoAVpWW1F/9w4v/ojHgi3FMQY6St9Z8Wc2yjWORrJQOee3W/rM0GFDIhuREiTeqirECaTHYHbHGpQ6M6oDUmEJ+OBpyFXp2nxqaGinToVqZKb3xLXwjfWUzjcJ+JDq8B
  • Ironport-sdr: akFppOjqq6WCQ/O3RnSXkm0C9oNd70cSyiobMCZOI6z8Gc5wuiG3CyrNITPKryspu2OoIOv1mq 3lTZ8Ow1NmJw==
  • List-id: Mini-os development list <minios-devel.lists.xenproject.org>

Otherwise we get warnings that these warnings are only C specific.

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

diff --git a/Makefile.uk b/Makefile.uk
index fe99760..8ee5d36 100644
--- a/Makefile.uk
+++ b/Makefile.uk
@@ -52,11 +52,11 @@ CXXINCLUDES-$(CONFIG_LIBPTHREAD_EMBEDDED) += 
-I$(LIBPTHREAD-EMBEDDED_EXTRACTED)/
 # Global flags
 
################################################################################
 SUPPRESS_FLAGS += -Wno-unused-parameter \
--Wno-pointer-to-int-cast -Wno-int-to-pointer-cast \
 -Wno-unused-variable -Wno-unused-value -Wno-unused-function \
 -Wno-missing-field-initializers
 
-LIBPTHREAD-EMBEDDED_CFLAGS-y   += $(SUPPRESS_FLAGS)
+LIBPTHREAD-EMBEDDED_CFLAGS-y   += $(SUPPRESS_FLAGS) \
+       -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast
 LIBPTHREAD-EMBEDDED_CXXFLAGS-y += $(SUPPRESS_FLAGS)
 
 LIBPTHREAD-EMBEDDED_EXPORTS = $(LIBPTHREAD-EMBEDDED_BASE)/exportsyms.uk
-- 
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®.