DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] how to avoid "non-matching type" in my program with dpdk
@ 2014-11-27 12:28 Linhaifeng
  0 siblings, 0 replies; only message in thread
From: Linhaifeng @ 2014-11-27 12:28 UTC (permalink / raw)
  To: dev

Hi,all

when i compile my program with dpdk there is a warning found by gcc.The message 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 ‘uintptr_t’ to non-matching type ‘void *’

# 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 NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

-- 
Regards,
Haifeng

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-11-27 12:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-27 12:28 [dpdk-dev] how to avoid "non-matching type" in my program with dpdk Linhaifeng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).