Attribute warn_unused_result

Robert Connolly robert at
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?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <>

More information about the hlfs-dev mailing list