Hi, Stanislav Ievlev <[EMAIL PROTECTED]> writes:
> On Sat, Oct 14, 2006 at 02:13:38PM +0100, Neil Jerram wrote: >> [EMAIL PROTECTED] (Ludovic Court?s) writes: >> >> > As for this: >> > >> > async.c: In function 'scm_i_queue_async_cell': >> > async.c:250: warning: ignoring return value of 'write', declared with >> > attribute warn_unused_result >> > >> > I don't really understand what this code does, but I have the feeling >> > that line 250 could be rewritten this way: >> > >> > SCM_SYSCALL ((void)write (sleep_fd, &dummy, 1)); >> > >> > Can somebody familiar with this comment? >> >> Agreed. Stanislav, can you try this and confirm whether it removes >> the warning you are getting? > > New compiller is a too smart for it ;) I guess the point of this `_FORTIFY_SOURCE' thing is to help catch errors related to interactions with the kernel (among others). The idea is that when performing a system call, one _should_ be concerned about its result. In the case of async.c:250, I don't understand whether/how failure of the `write ()' call should be handled. Thanks, Ludovic. _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel