Re: __attribute__((warn_unused_result)) for NetBSD?
"Greg A. Woods; Planix, Inc." <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.general |
|---|---|
| Message-ID | <[email protected]> |
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. <[email protected]>
PGP.sig
(application/pgp-signature, 186 B) - not displayed