https://bugs.linaro.org/show_bug.cgi?id=1047
Bug ID: 1047
Summary: oddp_schdeuling is not C99 compliant
Product: OpenDataPlane
Version: 0.6
Hardware: Other
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: ---
Component: Performance
Assignee: [email protected]
Reporter: [email protected]
make CFLAGS=-std=c99 -k
make[2]: Entering directory '/home/mike/git/odp/test/performance'
CC odp_scheduling-odp_scheduling.o
odp_scheduling.c: In function âtest_timeâ:
odp_scheduling.c:842:2: error: implicit declaration of function
âclock_gettimeâ
[-Werror=implicit-function-declaration]
if (clock_gettime(CLOCK_MONOTONIC, &tp2)) {
^
odp_scheduling.c:842:2: error: nested extern declaration of âclock_gettimeâ
[-Werror=nested-externs]
odp_scheduling.c:842:20: error: âCLOCK_MONOTONICâ undeclared (first use in
this
function)
if (clock_gettime(CLOCK_MONOTONIC, &tp2)) {
^
odp_scheduling.c:842:20: note: each undeclared identifier is reported only once
for each function it appears in
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