[En-Nut-Discussion] Installation problem with ethernut-5.0.2 on Debian

Harald Kipp harald.kipp at egnite.de
Sat Mar 17 20:33:29 CET 2012


Hi Edward,

On 15.03.2012 19:55, Edward Bartnik wrote:
> udpthread.cpp: In member function ‘virtual void* CUdpThread::Entry()’:
> udpthread.cpp:155: error: cast from ‘DISCOVERY_TELE*’ to ‘int’ loses 
> precision

nutdisc is not really required. Unfortunately there is no alternative
like with nutconf (wxWidget) and qnutconf (Qt), because I didn't manage
to set up automake for qnutdisc.

You may try to replace

event.SetInt((int)dist);

with

event.SetInt((int)(intptr_t)dist);

which is ugly but may work.

Regards,

Harald





More information about the En-Nut-Discussion mailing list