You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gcc -c -I/build/include -Iinclude -Imodules -DPICO_COMPILE_TIME=date +%s` -Wall -W -Wextra -Wshadow -Wcast-qual -Wwrite-strings -Wundef -Wdeclaration-after-statement -Wconversion -Wcast-align -Wmissing-prototypes -Wno-missing-field-initializers -ggdb -o modules/pico_icmp4.o modules/pico_icmp4.c
In file included from modules/pico_icmp4.c:11:0:
modules/pico_icmp4.h:152:41: error: expected identifier or ‘(’ before ‘-’ token
define pico_icmp4_packet_filtered(f) (-1)
^
modules/pico_icmp4.c:179:5: note: in expansion of macro ‘pico_icmp4_packet_filtered’
int pico_icmp4_packet_filtered(struct pico_frame *f)
^
modules/pico_icmp4.h:153:42: error: expected identifier or ‘(’ before ‘-’ token
define pico_icmp4_param_problem(f, c) (-1)
^
`
The text was updated successfully, but these errors were encountered:
The below solved this issue ... I got it from lang.c group(Ben) ..
`
#ifdef PICO_SUPPORT_ICMP4
int pico_fn_icmp4_packet_filtered(struct pico_frame *f);
int pico_fn_icmp4_param_problem(struct pico_frame *f, uint8_t code);
Got the below message error message .
gcc --version
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.9) 5.4.0 20160609
gcc -c -I/build/include -Iinclude -Imodules -DPICO_COMPILE_TIME=
date +%s` -Wall -W -Wextra -Wshadow -Wcast-qual -Wwrite-strings -Wundef -Wdeclaration-after-statement -Wconversion -Wcast-align -Wmissing-prototypes -Wno-missing-field-initializers -ggdb -o modules/pico_icmp4.o modules/pico_icmp4.cIn file included from modules/pico_icmp4.c:11:0:
modules/pico_icmp4.h:152:41: error: expected identifier or ‘(’ before ‘-’ token
define pico_icmp4_packet_filtered(f) (-1)
modules/pico_icmp4.c:179:5: note: in expansion of macro ‘pico_icmp4_packet_filtered’
int pico_icmp4_packet_filtered(struct pico_frame *f)
^
modules/pico_icmp4.h:153:42: error: expected identifier or ‘(’ before ‘-’ token
define pico_icmp4_param_problem(f, c) (-1)
`
The text was updated successfully, but these errors were encountered: