Re: [gtk-list] Re: compiling gtk+ on solaris



> From: Erik Mouw <J.A.K.Mouw@its.tudelft.nl>
> 
> On Wed, 22 Dec 1999 15:46:19 +0000 (GMT), adam rivet wrote:
> > I am attempting to compile gtk+ 1.2.6 on an i86 running solaris 2.7. 
> > ./configure runs fine, but when i run make it starts compiling and gives me 
> > the following massage about 50 times:
> > 
> > /usr/openwin/include/X11/Xlib.h:XXXX: warning: type defaults to `int' in 
> > declaration of `FUNCTION'
> > 
> > where XXXX is a number and FUNCTION is a function (duh), and then starts 
> > compiling from the beginning again. Is this normal?
> > 
> > Any help would be sincerely appreciated.
> 
> Looks to me like Sun still ships Solaris with plain old non-ANSI C
> compliant X11R4 header files. Install X11R6 header files and use
> configure's --with-x-headers and --with-x-libs flags to point it to the
> correct X version.
> 
> 
> Erik
> (who lost access to a Slowaris box, but just guesses from experience)


I have the same problem on my Solaris box at work - it's annoying, but
everything does compile.  Does anyone have any other suggestions to
get rid of all these warnings (possible gcc compilation flags to
ignore this warning - I spend about 30 minutes on it a few weeks ago
and couldn't find any flags that got rid of them).

Thanks,
Dave



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]