-Wimplicit_int & X11 headers
Michele Bini
mbini@dada.it
Fri Apr 24 03:02:00 GMT 1998
On Thu, 23 Apr 1998 04:17:03 +0200 "" <Marc.Espie@liafa1.liafa.jussieu.fr>
wrote:
> The trouble is that many functions in X11 don't mention a return
> type, e.g., in Xlib.h,
> extern XAddHost(
> /* ... */
> );
> so that activating -Wimplicit-int with -Wall will give rise to a
> full load of warnings.
But, in X11R6, it's declared as
extern int XAddHost(
#if NeedFunctionPrototypes
Display* /* display */,
XHostAddress* /* host */
#endif
);
--
Michele Bini: mbini@dada.it
More information about the Gcc-bugs
mailing list