[Lsb-infrastructure] devchk accessor macro problem expands
Wichmann, Mats D
mats.d.wichmann at intel.com
Thu Apr 24 14:02:12 PDT 2008
I have no idea why these didn't generate before, but in
today's generation of devchk's netinet_in_h.c there is new
code to do tests for s6_addr, s6_addr16 and s6_addr32.
These are accessor convenience macros to avoid typing
overly long lines:
#define s6_addr in6_u.u6_addr8
...
this is the same problem as with ia64's ucontext, where
these macros are fine when used as intended, to access
into a struct in6_addr, but make no sense used in isolation
like the test does.
the solution for ia64 (declared "ugly") was to mark these
Ctype='Unknown' (bug 2051) - do the same thing here?
-- mats
More information about the lsb-infrastructure
mailing list