SUMMARY: /usr/openwin/include (implict int)

From: Frank Cusack (fcusack@voicenet.com)
Date: Fri Feb 27 1998 - 12:29:10 CST


I only got one answer, from KELEMEN Peter <fuji@chiara.csoma.elte.hu>,
who sees the same thing. Also, he sees this on Linux...

> Hi all,
>
> When compiling vim-5.0 with gcc-2.8.0 under Solaris 2.6, I get many
> errors like:
>
> /usr/openwin/include/X11/Xutil.h:871: warning: type defaults to `int' in
> declaration of `XUnionRectWithRegion'
> /usr/openwin/include/X11/Xutil.h:879: warning: type defaults to `int' in
> declaration of `XUnionRegion'
> /usr/openwin/include/X11/Xutil.h:903: warning: type defaults to `int' in
> declaration of `XXorRegion'
>
> Many of the X includes have this problem. What boggles me is that *some*
> of the functions explicitly define int as the return type. Man pages
> for some of these functions define "Bool" as the return type (defined
> in Xlib.h as int), but for other functions it mentions nothing about
> the return type. But even those functions documented as returning
> Bool don't have Bool as the return type in the header file.
>

-- 
~frank + Official SysAdmin of the new millenium! + <xyzzy@voicenet.com>



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:32 CDT