[Bug 1939] New: ratemonperiod.c: incompatible pointer

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Tue Oct 18 13:58:01 UTC 2011


https://www.rtems.org/bugzilla/show_bug.cgi?id=1939

           Summary: ratemonperiod.c: incompatible pointer
           Product: RTEMS
           Version: HEAD
          Platform: All
        OS/Version: RTEMS
            Status: NEW
          Severity: critical
          Priority: P3
         Component: cpukit
        AssignedTo: joel.sherrill at oarcorp.com
        ReportedBy: ralf.corsepius at rtems.org


Something seems seriously bugged with timespec handling:

Building for almost all targets/bsp currently raises these warnings.

../../../../../../c/src/../../cpukit/rtems/src/ratemonperiod.c:141:7: warning:
passing argument 1 of '_Timespec_Subtract' from incompatible pointer type
../../../../../../c/src/../../cpukit/rtems/src/ratemonperiod.c:141:7: warning:
passing argument 2 of '_Timespec_Subtract' from incompatible pointer type
../../../../../../c/src/../../cpukit/rtems/src/ratemonperiod.c:143:7: warning:
passing argument 1 of '_Timespec_Add_to' from incompatible pointer type

I've tried to investigate, but have given up for now, because the cause is
obfuscated by what I consider to be overly use of defines.

-- 
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the bugs mailing list