Hi Orian, Thanks for reporting this error. I've added a test for this bug and fixed it [1]. Admittedly, test coverage of our standard modules is not yet where it needs to be, but it is something we are constantly working to improve. Please don't hesitate to make us aware of any other bugs you encounter in the future.
Best, Ben [1] https://github.com/chapel-lang/chapel/pull/4197 On 7/15/16, 7:50 AM, "Orian Louant" <[email protected]> wrote: >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 ------------------------------------------------------------------------------ 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
