Hello,

 

I am showing some warnings when compiling the "Root" element of the
Antitheft app.  (see below)

 

All the warnings(warning: comparison is always false due to limited
range of data type) point to a line like the following:

        if (qe->client < CLIENT_COUNT) ....

 

Is this something that can (or should) be ignored?  I do not get the
error on the "Nodes" element make (after modifications for this
platform).

 

<snip>

 

root@(none):/opt/tinyos-2.x/apps/AntiTheft/Root # make isi1000

mkdir -p build/isi1000

    compiling AntiTheftRootAppC to a isi1000 binary

ncc -o build/isi1000/main.exe -Os -O -I%T/lib/net/ctp -I%T/lib/net
-I%T/lib/net/le -mdisable-hwmul -DCC1K_DEF_FREQ=916700000 -Wall -Wshadow
-DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=isi1000
-fnesc-cfile=build/isi1000/app.c -board=   AntiTheftRootAppC.nc -lm

/opt/tinyos-2.x/tos/lib/net/ctp/CtpForwardingEngineP.nc: In function
`CtpForwardingEngineP$0$sendTask$runTask':

/opt/tinyos-2.x/tos/lib/net/ctp/CtpForwardingEngineP.nc:489: warning:
comparison is always false due to limited range of data type

/opt/tinyos-2.x/tos/lib/net/ctp/CtpForwardingEngineP.nc: In function
`CtpForwardingEngineP$0$SubSend$sendDone':

/opt/tinyos-2.x/tos/lib/net/ctp/CtpForwardingEngineP.nc:571: warning:
comparison is always false due to limited range of data type

/opt/tinyos-2.x/tos/lib/net/ctp/CtpForwardingEngineP.nc:593: warning:
comparison is always false due to limited range of data type

/tmp/ccIa9aJa.o: In function `AntiTheftRootC$AlertsReceive$receive':

app.c:(.text+0x146c): warning: internal error: unsupported relocation
error

    compiled AntiTheftRootAppC to build/isi1000/main.exe

           23862 bytes in ROM

            1696 bytes in RAM

msp430-objcopy --output-target=ihex build/isi1000/main.exe
build/isi1000/main.ihex

    writing TOS image

 

<snip>

 

Best regards,

 

Todd Roper

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

Reply via email to