[Tinyos-devel] nesc.xml bitoffset error

David Gay dgay42 at gmail.com
Wed Feb 6 14:20:25 PST 2008


On Feb 6, 2008 2:04 PM, Adler, Robert P <robert.p.adler at intel.com> wrote:
> Would this issue affect code generation in any way or only documentation
> creation?  Also, is structure_size_boundary a relatively new
> option/field, or has it been around for a while?  Finally, would the
> change be backwards compatible with older versions of ncc??

It showed up in v1.2.6 (it's alluded to in nesC's notes for that
release). The env target doesn't like options it doesn't know, so
specifying it for earlier releases would be a bad idea. It affects:
- mig (as it needs to know structure layout)
- XML structure layout output
- constant folding (but it's unlikely to have an actual effect, except
if you use an offsetof/sizeof result affected by this rule as a
generic component argument)

David Gay


More information about the Tinyos-devel mailing list