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

Re: [Minios-devel] [UNIKRAFT/LIBPTHREAD-EMBEDDED PATCH] Supress warning to have a clean build.



Looks fine to me. We should at some point revisit "strict aliasing". I hope it does not break anything at some point. If yes, we should add `-fno-strict-aliasing` globally to the build by this library.

Reviewed-by: Simon Kuenzer <simon.kuenzer@xxxxxxxxx>

On 12.02.20 10:35, Felipe Huici wrote:
Signed-off-by: Felipe Huici <felipe.huici@xxxxxxxxx>
---
  Makefile.uk | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.uk b/Makefile.uk
index 89eb345..b9b7456 100644
--- a/Makefile.uk
+++ b/Makefile.uk
@@ -53,7 +53,7 @@ CXXINCLUDES-$(CONFIG_LIBPTHREAD_EMBEDDED) += 
-I$(LIBPTHREAD-EMBEDDED_EXTRACTED)/
  
################################################################################
  LIBPTHREAD-EMBEDDED_SUPPRESS_FLAGS += -Wno-unused-parameter \
  -Wno-unused-variable -Wno-unused-value -Wno-unused-function \
--Wno-missing-field-initializers
+-Wno-missing-field-initializers -Wno-strict-aliasing
LIBPTHREAD-EMBEDDED_CFLAGS-y += $(LIBPTHREAD-EMBEDDED_SUPPRESS_FLAGS) \
        -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast


_______________________________________________
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®.