On Wed, Jun 4, 2008 at 7:41 AM, John Regehr <[EMAIL PROTECTED]> wrote:
> We're now suppressing these warnings by declaring the new temp vars as
> follows:

Thanks for the update. I was concerned that tinyos2.x might start
getting dozens or hundreds of warnings as more Safe TinyOS changes
were added :-)

Since you asked, here are the other warnings I'm seeing. These
probably aren't related to Safe TinyOS.

During tinyos2.x 'configure':

=====OUTPUT=====
platforms/mica/cc1000-channelgen/Makefile.am: installing `config-aux/depcomp'
+ set -x
+ cd platforms/mica/uisp
+ ./bootstrap
autoheader: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
autoheader: WARNING: and `config.h.top', to define templates for `config.h.in'
autoheader: WARNING: is deprecated and discouraged.
autoheader:
autoheader: WARNING: Using the third argument of `AC_DEFINE' and
autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows one to define a
template without
autoheader: WARNING: `acconfig.h':
autoheader:
autoheader: WARNING:   AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader:             [Define if a function `main' is needed.])
autoheader:
autoheader: WARNING: More sophisticated templates can also be produced, see the
autoheader: WARNING: documentation.
================

During 'make install' of tinyos2.x:

=====OUTPUT=====
make  all-am
make[5]: Entering directory
`/home/david/dev/internet/tinyos/tinyos2/git_checkout/tinyos-2.x/tools/platforms/mica/uisp/src'
g++ -DHAVE_CONFIG_H -I.    -Wall -g -O2 -MT Avr.o -MD -MP -MF
.deps/Avr.Tpo -c -o Avr.o Avr.C
Avr.C:127: warning: deprecated conversion from string constant to 'char*'
Avr.C:127: warning: deprecated conversion from string constant to 'char*'
Avr.C:127: warning: deprecated conversion from string constant to 'char*'
Avr.C:127: warning: deprecated conversion from string constant to 'char*'
Avr.C:127: warning: deprecated conversion from string constant to 'char*'
Avr.C:127: warning: deprecated conversion from string constant to 'char*'
Avr.C:127: warning: deprecated conversion from string constant to 'char*'
Avr.C:127: warning: deprecated conversion from string constant to 'char*'
Avr.C:127: warning: deprecated conversion from string constant to 'char*'
Avr.C:127: warning: deprecated conversion from string constant to 'char*'
Avr.C:127: warning: deprecated conversion from string constant to 'char*'
Avr.C:127: warning: deprecated conversion from string constant to 'char*'
Avr.C:127: warning: deprecated conversion from string constant to 'char*'
Avr.C:127: warning: deprecated conversion from string constant to 'char*'
Avr.C:127: warning: deprecated conversion from string constant to 'char*'
Avr.C:127: warning: deprecated conversion from string constant to 'char*'
Avr.C:127: warning: deprecated conversion from string constant to 'char*'
Avr.C:127: warning: deprecated conversion from string constant to 'char*'
Avr.C:127: warning: deprecated conversion from string constant to 'char*'
Avr.C:127: warning: deprecated conversion from string constant to 'char*'
Avr.C:127: warning: deprecated conversion from string constant to 'char*'
Avr.C:127: warning: deprecated conversion from string constant to 'char*'
Avr.C:127: warning: deprecated conversion from string constant to 'char*'
Avr.C:127: warning: deprecated conversion from string constant to 'char*'
Avr.C:127: warning: deprecated conversion from string constant to 'char*'
Avr.C:127: warning: deprecated conversion from string constant to 'char*'
Avr.C:127: warning: deprecated conversion from string constant to 'char*'
Avr.C:127: warning: deprecated conversion from string constant to 'char*'
Avr.C:127: warning: deprecated conversion from string constant to 'char*'
Avr.C:127: warning: deprecated conversion from string constant to 'char*'
Avr.C:127: warning: deprecated conversion from string constant to 'char*'
mv -f .deps/Avr.Tpo .deps/Avr.Po
================

Also a lot of warnings like this:

=====OUTPUT=====
g++ -m64 -O1 -shared -fPIC -I/usr/lib/jvm/java-1.5.0-sun/include
-I/usr/lib/jvm/java-1.5.0-sun/include/linux -o libtoscomm-64.so
NativeSerial_linux.cpp
In file included from /usr/include/features.h:354,
                 from
/usr/include/c++/4.2/i486-linux-gnu/64/bits/os_defines.h:44,
                 from
/usr/include/c++/4.2/i486-linux-gnu/64/bits/c++config.h:41,
                 from /usr/include/c++/4.2/exception:42,
                 from /usr/include/c++/4.2/stdexcept:43,
                 from NativeSerial_linux.cpp:25:
/usr/include/gnu/stubs.h:9:27: error: gnu/stubs-64.h: No such file or directory
64-bit libtoscomm.so NOT GENERATED - DO NOT USE THIS RUN TO BUILD AN RPM
Press return to continue
================

I get the above a lot, so my automated build pipes the 'yes' command
into the build command.

And finally, during building of an example app (in this case
apps/tests/deluge/Blink), I get a low power communications warning:

=====OUTPUT=====
[EMAIL 
PROTECTED]:~/dev/internet/tinyos/tinyos2/git_checkout/tinyos-2.x/apps/tests/deluge/Blink$
make telosb
mkdir -p build/telosb
tos-storage-stm25p
/home/david/dev/internet/tinyos/tinyos2/git_checkout/tinyos-2.x/tos/platforms/telosb
<volumes-stm25p.xml >build/telosb/StorageVolumes.h || rm -f
build/telosb/StorageVolumes.h
    compiling BlinkAppC to a telosb binary
ncc -o build/telosb/main.exe  -Os -O -mdisable-hwmul -Wall -Wshadow
-Wnesc-all -target=telosb -fnesc-cfile=build/telosb/app.c -board=
-DDEFINED_TOS_AM_GROUP=0x22 -Ibuild/telosb -DDELUGE
-I/home/david/dev/internet/tinyos/tinyos2/git_checkout/tinyos-2.x/tos/lib/net
-I/home/david/dev/internet/tinyos/tinyos2/git_checkout/tinyos-2.x/tos/lib/net/drip
-I/home/david/dev/internet/tinyos/tinyos2/git_checkout/tinyos-2.x/tos/lib/net/Deluge
-I/home/david/dev/internet/tinyos/tinyos2/git_checkout/tinyos-2.x/tos/lib/net/Deluge/FlashVolumeManager
-I/home/david/dev/internet/tinyos/tinyos2/git_checkout/tinyos-2.x/tos/lib/net/Deluge/BlockStorageManager
-I/home/david/dev/internet/tinyos/tinyos2/git_checkout/tinyos-2.x/tos/lib/net/Deluge/extra
-I/home/david/dev/internet/tinyos/tinyos2/git_checkout/tinyos-2.x/tos/lib/net/Deluge/extra/msp430
-I/home/david/dev/internet/tinyos/tinyos2/git_checkout/tinyos-2.x/tos/lib/net/Deluge/extra/telos
-I/home/david/dev/internet/tinyos/tinyos2/git_checkout/tinyos-2.x/tos/lib/net/Deluge/extra/telosb
-Wl,--section-start=.text=0x4a00,--defsym=_reset_vector__=0x4000
-DIDENT_APPNAME=\"BlinkAppC\" -DIDENT_USERNAME=\"david\"
-DIDENT_HOSTNAME=\"lnxdavid\" -DIDENT_USERHASH=0xb4cd1e4cL
-DIDENT_TIMESTAMP=0x48465c68L -DIDENT_UIDHASH=0x3f90a8bdL
BlinkAppC.nc -lm
/home/david/dev/internet/tinyos/tinyos2/git_checkout/tinyos-2.x/tos/chips/cc2420/lpl/DummyLplC.nc:39:2:
warning: #warning "*** LOW POWER COMMUNICATIONS DISABLED ***"
/home/david/dev/internet/tinyos/tinyos2/git_checkout/tinyos-2.x/tos/chips/msp430/adc12/Msp430Adc12ImplP.nc:66:2:
warning: #warning Accessing TimerA for ADC12
================

Should I expect the above warnings, or should the tinyos2.x developers
tidy them up too? Or should I change something in my build process to
get fewer warnings?

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

Reply via email to