[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
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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |