[ovs-dev] [PATCH] netdev-dpdk: Silence DPDK Wbad-function-cast warning

Pravin Shelar pshelar at nicira.com
Mon Mar 16 17:40:31 UTC 2015


On Mon, Mar 16, 2015 at 8:08 AM, Mcnamara, John <john.mcnamara at intel.com> wrote:
>> -----Original Message-----
>> From: Pravin Shelar [mailto:pshelar at nicira.com]
>> Sent: Friday, March 13, 2015 5:56 PM
>> To: Mcnamara, John
>> Cc: dev at openvswitch.org
>> Subject: Re: [ovs-dev] [PATCH] netdev-dpdk: Silence DPDK Wbad-function-cast warning
>>
>>
>> > +/* Ignore warning in DPDK includes. */ #pragma GCC diagnostic ignored
>> > +"-Wbad-function-cast"
>> > +
>>
>> This applies to all functions that may or may not be used in OVS. This can
>> hide real warning. So we should work on fixing these issues in upstream
>> DPDK rather than ignoring them.
>
> Hi Pravin,
>
> Ok. I've submitted an upstream patch to fix the issue in DPDK:
>
>     http://dpdk.org/ml/archives/dev/2015-March/015266.html
>

Thanks for fixing it.



More information about the dev mailing list