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

Reply via email to