From mboxrd@z Thu Jan 1 00:00:00 1970 From: Linhaifeng Subject: how to avoid "non-matching type" in my program with dpdk Date: Thu, 27 Nov 2014 20:28:02 +0800 Message-ID: <547718D2.5080609@huawei.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable To: "dev-VfR2kkLFssw@public.gmane.org" Return-path: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" Hi,all when i compile my program with dpdk there is a warning found by gcc.The m= essage is like follow.I don't know how to avoid it.Help me. /usr/include/dpdk-1.7.0/x86_64-native-linuxapp-gcc//include/rte_common.h:= 176: warning: cast from function call of type =E2=80=98uintptr_t=E2=80=99= to non-matching type =E2=80=98void *=E2=80=99 # gcc --version gcc-4.3 (SUSE Linux) 4.3.4 [gcc-4_3-branch revision 152973] Copyright (C) 2008 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is N= O warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOS= E. --=20 Regards, Haifeng