[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20121001.004547.291872991703576360.davem@davemloft.net>
Date: Mon, 01 Oct 2012 00:45:47 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: jgunthorpe@...idianresearch.com
Cc: linux-kernel@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH] Fix userspace compilation of ip_tables.h/ip6_tables.h
in C++ mode
From: Jason Gunthorpe <jgunthorpe@...idianresearch.com>
Date: Sun, 30 Sep 2012 17:17:37 -0600
> The implicit cast from void * is not allowed for C++ compilers, and the
> arithmetic on void * generates warnings in C++ mode.
>
> $ g++ -c t.cc
> ip_tables.h:221:24: warning: pointer of type 'void *' used in arithmetic
> ip_tables.h:221:24: error: invalid conversion from 'void*' to 'xt_entry_target*'
>
> Signed-off-by: Jason Gunthorpe <jgunthorpe@...idianresearch.com>
Please post netfilter patches to netfilter-devel@...r.kernel.org
Thank you.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists