From: Geoffrey M. <mai...@ee...> - 2006-06-23 20:07:35
|
This is using the 1.2.4 compiler with the TinyOS 2.x tree (dev branch): mig java -target=telosb -java-classname=CollectionDebugMsg \ $TOSDIR/lib/net/collection/CollectionDebugMsg.h CollectionDebugMsg \ >CollectionDebugMsg.java Look at the offsets in CollectionDebugMsg.java. The nx_union isn't handled properly: it's treated as a struct declaration. Using 1.2.6 gives me the same internal error as my previous post. Note that mig also get sizes wrong when setting the size of a typedef with an attribute, e.g, int __attribute__((__mode__(__DI__))) myint64_t; Geoff |