[Tinyos-devel] non-backward compatible usage of safe...
Eric Decker
cire831 at gmail.com
Tue Jun 24 01:03:05 PDT 2008
I recently updated to the tip and my build failed due to "safe" in
HplMsp430GeneralIOP.nc and
Msp430TimerCapComP.nc. Is there something that should be included at the
front of these
files that handles the @safe doing nothing if safe isn't being used?
eric
Index: tos/chips/msp430/pins/HplMsp430GeneralIOP.nc
===================================================================
RCS file:
/cvsroot/tinyos/tinyos-2.x/tos/chips/msp430/pins/HplMsp430GeneralIOP.nc,v
retrieving revision 1.6
diff -u -r1.6 HplMsp430GeneralIOP.nc
--- tos/chips/msp430/pins/HplMsp430GeneralIOP.nc 23 Jun 2008 20:25:15
-0000 1.6
+++ tos/chips/msp430/pins/HplMsp430GeneralIOP.nc 24 Jun 2008 07:30:09
-0000
@@ -31,7 +31,8 @@
uint8_t port_dir_addr,
uint8_t port_sel_addr,
uint8_t pin
- ) @safe()
+ )
+// ) @safe()
{
provides interface HplMsp430GeneralIO as IO;
}
Index: tos/chips/msp430/timer/Msp430TimerCapComP.nc
===================================================================
RCS file:
/cvsroot/tinyos/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerCapComP.nc,v
retrieving revision 1.6
diff -u -r1.6 Msp430TimerCapComP.nc
--- tos/chips/msp430/timer/Msp430TimerCapComP.nc 23 Jun 2008 20:25:15
-0000 1.6
+++ tos/chips/msp430/timer/Msp430TimerCapComP.nc 24 Jun 2008 07:30:10
-0000
@@ -28,7 +28,8 @@
generic module Msp430TimerCapComP(
uint16_t TxCCTLx_addr,
uint16_t TxCCRx_addr
- ) @safe()
+ )
+// ) @safe()
{
--
Eric B. Decker
Senior (over 50 :-) Researcher
Autonomous Systems Lab
Jack Baskin School of Engineering
UCSC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-devel/attachments/20080624/39e81b4b/attachment.htm
More information about the Tinyos-devel
mailing list