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

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


  • To: Costin Lupu <costin.lupu@xxxxxxxxx>, "minios-devel@xxxxxxxxxxxxx" <minios-devel@xxxxxxxxxxxxx>
  • From: Felipe Huici <Felipe.Huici@xxxxxxxxx>
  • Date: Wed, 5 Jun 2019 11:23:27 +0000
  • Accept-language: en-US, de-DE
  • Delivery-date: Wed, 05 Jun 2019 11:23:36 +0000
  • List-id: Mini-os development list <minios-devel.lists.xenproject.org>
  • Thread-index: AQHVG3TxQLmPvNacYkCFDXR23nkZsaaM60aA
  • Thread-topic: [UNIKRAFT/PTHREAD-EMBEDDED 2/2] Makefile.uk: Restrict pointer-to-int-cast and int-to-pointer-cast warnings only to C

Hi Costin,

This patch looks good, thanks.

-- Felipe

Reviewed-by: Felipe Huici <felipe.huici@xxxxxxxxx>

On 05.06.19, 10:01, "Costin Lupu" <costin.lupu@xxxxxxxxx> wrote:

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