Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
"ignoring retur values" on Linux
- X-seq: zsh-workers 23304
- From: Andrey Borzenkov <arvidjaar@xxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: "ignoring retur values" on Linux
- Date: Sat, 21 Apr 2007 11:47:04 +0400
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Building RPM for Madriva (glibc 2.4/gcc 4.1.2) there are tons of
builtin.c: In function ‘bin_cd’:
builtin.c:796: warning: ignoring return value of ‘chdir’, declared with
attribute warn_unused_result
builtin.c:803: warning: ignoring return value of ‘chdir’, declared with
attribute warn_unused_result
builtin.c: In function ‘bin_print’:
builtin.c:3690: warning: ignoring return value of ‘fwrite’, declared with
attribute warn_unused_result
builtin.c:3701: warning: ignoring return value of ‘fwrite’, declared with
attribute warn_unused_result
builtin.c:3765: warning: ignoring return value of ‘fwrite’, declared with
attribute warn_unused_result
builtin.c: In function ‘bin_read’:
builtin.c:4922: warning: ignoring return value of ‘fwrite’, declared with
attribute warn_unused_result
etc.
I am not sure if sensible check of return values is possible in every case
thoigh (i.e. - action if check fails).
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
iD8DBQFGKcF5R6LMutpd94wRArjzAKCUnTZiRR6nRt27iZWBOrl5YB7PPgCfbrlw
rDHHBPhzzeZo5bTVUt29T/4=
=V4lv
-----END PGP SIGNATURE-----
Messages sorted by:
Reverse Date,
Date,
Thread,
Author