Mail Archives: pgcc/1998/08/05/09:47:48
Hello,
I've compiled
gcc version pgcc-2.90.29 980515 (egcs-1.0.3 release)
on a linux box with XFree 3.2 installed. In general it seems to work
ok, but when compiling some X11 applications with -Wall I got
many of the following error messages:
/usr/X11R6/include/X11/Xlib.h:4062: warning: type defaults to `int' in declaration
of `XSync'
Old gcc 2.7.x didn't issue this warning. The example statement refers to
extern XSync(
#if NeedFunctionPrototypes
Display* /* display */,
Bool /* discard */
#endif
);
which is obviously lacking a type.
Can I get back the old behaviour ? I don't want to disable warnings about
implicit declarations in general.
--
Alexander Mai
st002279 AT hrzpub DOT tu-darmstadt DOT de
am AT os-2 DOT de
P.S. Sorry, if my subscribe request has also been sent this list ...
- Raw text -