Hi Jerin, > -----Original Message----- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Jerin Jacob > Sent: Thursday, May 10, 2018 10:05 AM > To: dev@dpdk.org > Cc: tho...@monjalon.net; a...@warmcat.com; Jerin Jacob > <jerin.ja...@caviumnetworks.com>; Richardson, Bruce > <bruce.richard...@intel.com>; sta...@dpdk.org > Subject: [dpdk-dev] [PATCH] examples/quota_watermark: fix wrong function > type casing > > make pipeline_stage() and send_stage() as lcore_function_t. > Found this issue with gcc 8.1. > > examples/quota_watermark/qw/main.c: In function ‘main’: > examples/quota_watermark/qw/main.c:350:26: error: cast between > incompatible function types from ‘void (*)(void *)’ to ‘int (*)(void *)’ [- > Werror=cast-function-type] rte_eal_remote_launch((int (*)(void > *))pipeline_stage, > ^ > examples/quota_watermark/qw/main.c:357:24: error: cast between > incompatible function types from ‘void (*)(void *)’ to ‘int (*)(void *)’ [- > Werror=cast-function-type] rte_eal_remote_launch((int (*)(void *))send_stage, > NULL, last_lcore_id); > > Cc: bruce.richard...@intel.com > Cc: sta...@dpdk.org > > Fixes: 1d6c3ee3321a ("examples/quota_watermark: initial import")
There is already a fix for this: http://dpdk.org/dev/patchwork/patch/39564/