tech-misc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: __attribute__((warn_unused_result)) for NetBSD?




On 13-Sep-08, at 12:21 PM, Aleksey Cheusov wrote:

Today while trying to bootstrap pkgsrc under ALT Linux I've found that
several functions such as fwrite, write, chdir and probably others
are declared with __attribute__((warn_unused_result)) attribute.

This obviously generates useful warning/errors for the key components
of the system.

Perhaps it could, but proper and regular use of "lint" will do this too, and far more.

--
                                        Greg A. Woods; Planix, Inc.
                                        <woods%planix.ca@localhost>

Attachment: PGP.sig
Description: This is a digitally signed message part



Home | Main Index | Thread Index | Old Index