[Bug 1939] ratemonperiod.c: incompatible pointer

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Tue Oct 18 14:45:16 UTC 2011


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

--- Comment #2 from Gedare <giddyup44 at yahoo.com> 2011-10-18 09:45:15 CDT ---
(In reply to comment #1)
> My compilation has a little more info than what was posted. Here is one of them
> (others are similar).
> 
> ../../../../../../rtems/c/src/../../cpukit/rtems/src/ratemonperiod.c: In
> function '_Rate_monotonic_Initiate_statistics':
> ../../../../../../rtems/c/src/../../cpukit/rtems/src/ratemonperiod.c:141:7:
> warning: passing argument 1 of '_Timespec_Subtract' from incompatible pointer
> type [enabled by default]
> ../../cpukit/../../../usiii/lib/include/rtems/score/timespec.h:209:6: note:
> expected 'const struct timespec *' but argument is of type 'Timestamp_Control
> *'

For my CPU it has defined CPU_TIMESTAMP_USE_INT64_INLINE so I don't know why it
is expecting struct timespec.

-- 
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