Hello,

I have recently gotten this error from the compiler trying to use 
“channel.advance”:

$CHPL_HOME/modules/standard/IO.chpl:2906: In function 'advance':
$CHPL_HOME/modules/standard/IO.chpl:2909: error: unresolved call 
'qio_channel_advance(0, qio_channel_ptr_t)'
$CHPL_HOME/modules/standard/IO.chpl:1659: note: candidates are: 
qio_channel_advance(threadsafe: c_int, ch: qio_channel_ptr_t, nbytes: int(64))

I solve the problem by replacing

var err = qio_channel_advance(false, _channel_internal); 

by 

var err = qio_channel_advance(false, _channel_internal, amount);

on line 2909 of file IO.chpl. I guess that the problem is also present on line 
2899.

In conclusion, no big deal, but I just wanted to let you known that there is a 
bug in a standard module.

Best regards.

Orian Louant
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
_______________________________________________
Chapel-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/chapel-bugs

Reply via email to