Hi Jerin, > -----Original Message----- > From: dev [mailto:[email protected]] On Behalf Of Jerin Jacob > Sent: Thursday, May 10, 2018 10:05 AM > To: [email protected] > Cc: [email protected]; [email protected]; Jerin Jacob > <[email protected]>; Richardson, Bruce > <[email protected]>; [email protected] > 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: [email protected] > Cc: [email protected] > > Fixes: 1d6c3ee3321a ("examples/quota_watermark: initial import")
There is already a fix for this: http://dpdk.org/dev/patchwork/patch/39564/

