[Bug 1941] Whither RTEMS_offsetof?

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Thu Oct 20 11:02:18 UTC 2011


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

--- Comment #2 from Ralf Corsepius <ralf.corsepius at rtems.org> 2011-10-20 06:02:16 CDT ---
(In reply to comment #1)
> We should implement it in terms of what the C standard provides <stddef.h>:
> 
> http://pubs.opengroup.org/onlinepubs/009604499/basedefs/stddef.h.html

I don't understand, what you are trying to say.

GCC's offsetof is compliant to C99/POSIX => RTEMS_offsetof is meaningless and
an potential faulty anachronism.

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