The source code is not designed to be used with 4.9; this is why we package up 
particular compiler releases.

I'm pretty sure this is a false positive warning. Sometimes we need to tweak 
code generation to suppress such warnings. If you could show the generated C 
that causes the warning, that would be helpful.

But you've decided to venture into uncharted territory -- no-one has tested 
TinyOS with 4.9, and there might be bugs that the TinyOS code tickles (more 
common than you'd like with avr-gcc) and so your binaries aren't correct.

Phil

On Jun 8, 2014, at 7:05 PM, Roadstar Runner <redstripe...@gmail.com> wrote:

> I recently upgraded to avr-gcc 4.9.0 and am getting a few warnings in 
> FcfsResourceQueueC.nc.
> I am not sure why gcc is complaining.
> 
> /opt/tinyos-2.x/tos/system/FcfsResourceQueueC.nc:88:73: warning: array 
> subscript is above array bounds [-Warray-bounds]
>           resQ[qTail] = id;
> 
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to