https://bugs.linaro.org/show_bug.cgi?id=1046
Bug ID: 1046
Summary: odp_ipsec is not C99 compliant
Product: OpenDataPlane
Version: 0.6
Hardware: Other
OS: Linux
Status: UNCONFIRMED
Severity: enhancement
Priority: ---
Component: Examples
Assignee: [email protected]
Reporter: [email protected]
make CFLAGS=-std=c99 -k
make[2]: Entering directory '/home/mike/git/odp/example/ipsec'
CC odp_ipsec-odp_ipsec.o
In file included from odp_ipsec.c:44:0:
./odp_ipsec_stream.h:27:2: error: unknown type name âuintâ
uint length; /**< Packet payload length */
^
odp_ipsec.c: In function âquery_mac_addressâ:
odp_ipsec.c:233:15: error: storage size of âifrâ isnât known
struct ifreq ifr;
^
odp_ipsec.c:233:15: error: unused variable âifrâ [-Werror=unused-variable]
odp_ipsec.c: In function âparse_argsâ:
odp_ipsec.c:1376:5: error: implicit declaration of function âstrtok_râ
[-Werror=implicit-function-declaration]
token = strtok_r(str, ",", &save);
^
odp_ipsec.c:1376:5: error: nested extern declaration of âstrtok_râ
[-Werror=nested-externs]
odp_ipsec.c:1376:11: error: assignment makes pointer from integer without a
cast [-Werror]
token = strtok_r(str, ",", &save);
^
odp_ipsec.c:1394:11: error: assignment makes pointer from integer without a
cast [-Werror]
token = strtok_r(str, ",", &save);
^
cc1: all warnings being treated as errors
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
lng-odp mailing list
[email protected]
http://lists.linaro.org/mailman/listinfo/lng-odp