Attribute warn_unused_result

Robert Connolly robert at linuxfromscratch.org
Sat Aug 26 09:11:43 PDT 2006


As for Binutils and GCC, they won't build with an error function added. I've 
had to use stuff like:

-mktemp (tmpname);
+if (mktemp (tmpname) != 0) {}
In binutils/bucomm.c

It's completely pointless, but it gets rid of the warning. Anyone have a 
better idea?

robert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.linuxfromscratch.org/pipermail/hlfs-dev/attachments/20060826/1a8bee21/attachment.sig>


More information about the hlfs-dev mailing list