/usr/openwin/include (implict int)

2007-12-25 9:35:00

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>

Comments

Got something to say?

You must be logged in to post a comment.