Does anybody know why when I do

#define PSTR(s) ({static const prog_uchar __c[] = (s); __c;})

(Tinyos-1-1.1.15)nesC replies with: 
      "invalid use of non-lvalue array"

It is defined avr\include\avr\pgmspace.h  and works when used directly with
the avr-gcc.

Also has anybody got any recommendations for how to turn on avr-gcc supplied

        snprintf_P()

thanks

neil




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

Reply via email to