On Saturday, April 17, 2004, at 04:25 AM, Paul Eggert wrote:
Steven J Abner <[EMAIL PROTECTED]> writes:
warning: passing arg 2 of `chmod' with different width due to prototype
Often this warning is bogus. I wouldn't worry about it too much, unless you're writing code that uses ancient K&R syntax (which is what that warning is designed for).
Thanks. I kept plugging at the code. Finally some research turned up something
about old porting. Just to see if what I found is correct:
-Wconversion flag checks also old time matching, a prototype
char* foo(char* boo, int coo, char doo);
causes a problem because "char" is an eight bit size instead of integer and a
conversion happens by doo being cast from int to char.
Am I close or good enough?
_______________________________________________ Bug-coreutils mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-coreutils
