[prev in list] [next in list] [prev in thread] [next in thread]
List: sun-managers
Subject: SUMMARY: /usr/openwin/include (implict int)
From: Frank Cusack <fcusack () voicenet ! com>
Date: 1998-02-27 18:29:10
[Download RAW message or body]
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>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic