This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
In message <199804230217.EAA02439@quatramaran.ens.fr>you write: > I don't know if this was mentionned already, but compiling X11 > programs with -Wall gives lots of spurious warnings. > > 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. Well, they are valid warnings -- the X11 header files are bogus. I don't know if it's possible, but suppressing the warning if the decl is from a system header file might be the best approach. fixincludes is for more serious issues than this. jeff
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |