2010/8/1 John Gabriele <jmg3...@gmail.com>:
> [...]
> Just built chicken on Ubuntu 10.04 (on x86_64) and saw this warning
> come up twice:
> [...]
> runtime.c: In function ‘C_number_to_string’:
> runtime.c:7328: warning: ignoring return value of ‘gcvt’, declared
> with attribute warn_unused_result
> [...]

Hello,

this warning is harmless. Actually, I would consider it a bug in the
system's C headers that gcvt is declared with attribute
warn_unused_result — the return value of this function is always the
same as the target buffer parameter passed to the function and hence
it is unlikely that any information is lost by ignoring it.

But then again, gcvt is a legacy function that was removed from
the most recent POSIX standards anyway and it is probably no wonder if
strange things happen when one uses it ;-)

Ciao,
Thomas


-- 
When C++ is your hammer, every problem looks like your thumb.

_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to