Date: Wed, 13 Jul 94 21:42:22 EDT From: peprbv AT cfa0 DOT harvard DOT edu (Bob Babcock) To: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Re: 1.12 ? Reply-To: babcock AT cfa DOT harvard DOT edu > If anyone knows of a bug djgpp prototypes for fread and fwrite in stdio.h are int fread(void*, int, int, FILE*); int fwrite(const void*, int, int, FILE*); Borland and K&R 2nd edition say that the 2nd and 3rd args to fread and the 2nd and 3rd args to fwrite should be type size_t (which is unsigned). This discrepancy makes it impossible to write code which compiles without warnings with both gcc and bcc. I suspect that there are other similar problems, but these two keep bothering me.