On 8/16/06, Ning Xu <[EMAIL PROTECTED]> wrote:
Hi David,

I encounter this problem:  in my nesc module there is a command that
will be called from another object file. nesC convert this command as
static function which gets optimized away before the linking process.

I have tried __attributed__((unused)), it does not help.

I also try __attribute__((spontatenous C)), this time nesC complains
error, saying spontatenous C must be applied to external function,
which make sense.

You can use it on functions defined in modules, just not on commands
or events. Simply have a function that just calls the command...

David Gay
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to