[Tinyos-help] how to slove the aggregation part ?

2006-01-18 Thread Xing Jin
Hi ,  I am a beginner in this field. When I complied my code, it says that TestTempM.nc:82: warning: passing argument 1 of `Send.send' makes pointer from integer without a castTestTempM.nc:82: too many arguments to function `Send.send'TestTempM.nc: In function `ReceiveMsg.receive':TestTempM.nc:148: warning: passing argument 1 of `Send.send' makes pointer frominteger without a castTestTempM.nc:148: too many arguments to function `Send.send'But I do not know whichcausedthis. Does anyone have the same experience ? I will appreciate it very much if someone helps me.  Thanks.___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] how to slove the aggregation part ?

2006-01-18 Thread Michael Schippling

Probably you need to (re)view some C programming fundamentals,
the makes pointer from integer thing sounds like you are
trying to pass a value where an address is required. If that
doesn't make any sense, then you DO need to read a C book.
Try the old famous Kernigan and Ritchie...

Otherwise, without seeing the code, it's not easy to correct it.
MS


Xing Jin wrote:

Hi ,
 I am a beginner in this field. When I complied my code, it says that
 
TestTempM.nc:82: warning: passing argument 1 of `Send.send' makes 
pointer from i

nteger without a cast
TestTempM.nc:82: too many arguments to function `Send.send'
TestTempM.nc: In function `ReceiveMsg.receive':
TestTempM.nc:148: warning: passing argument 1 of `Send.send' makes 
pointer from

integer without a cast
TestTempM.nc:148: too many arguments to function `Send.send'
 
But I do not know which caused this. Does anyone have the same 
experience ? I will appreciate it very much if someone helps me.

Thanks.




___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help