Compiler-Errors

eric elcarlton250 at earthlink.net
Wed Dec 8 19:12:35 GMT 1999


Marc Michalewicz wrote:

> Hello,
>
> i just wnated to compile/install kdevelop 1.0 on a Solaris-2.7 machine
> and got several warnings, concerning all the same (missing returntype in
> the Xlib-prototypes):
>
> Here an excerpt with a "g++ -" at the end.
>
> (snip)
>
> In file included from highlight.cpp:12:
> /usr/openwin/include/X11/Xlib.h:2063: ANSI C++ forbids declaration
> `XSetTransientForHint' with no type
> /usr/openwin/include/X11/Xlib.h:2071: ANSI C++ forbids declaration
> `XActivateScreenSaver' with no type
> /usr/openwin/include/X11/Xlib.h:2078: ANSI C++ forbids declaration
> `XAddHost' with no type
> /usr/openwin/include/X11/Xlib.h:2086: ANSI C++ forbids declaration
> `XAddHosts' with no type
> /usr/openwin/include/X11/Xlib.h:2093: ANSI C++ forbids declaration
> `XAddToExtensionList' with no type
> /usr/openwin/include/X11/Xlib.h:2100: ANSI C++ forbids declaration
> `XAddToSaveSet' with no type
> /usr/openwin/include/X11/Xlib.h:2154: ANSI C++ forbids declaration
> `XAllowEvents' with no type
> /usr/openwin/include/X11/Xlib.h:2160: ANSI C++ forbids declaration
> `XAutoRepeatOff' with no type
> /usr/openwin/include/X11/Xlib.h:2166: ANSI C++ forbids declaration
> `XAutoRepeatOn' with no type
> /usr/openwin/include/X11/Xlib.h:2173: ANSI C++ forbids declaration
> `XBell' with no type
> ...
>  g++ -v                                             /home/bmichm
> Reading specs from
> /appl/cygnus/gnupro-99r1/H-sparc-sun-solaris2.7/lib/gcc-lib/sparc-sun-solaris2.7/2.9-gnupro-99r1/specs
>
> gcc version 2.9-gnupro-99r1
> ...
>
> (snip)
>
> yesterday i compiled and installed the 1.0 Beta4-Version on a Linuxbox
> without problems (gcc version egcs-2.91.66 19990314/Linux (egcs 1.1.2
> release)
>
> Has anyone here a hint for me what to do ? Do i use the wrong compiller
> or did the configurescript use wrong options (ANSI ?) ?
>
> Thanks very much for any help,
>
> Marc


   The  sunfreeware page said they were still working on a  port for beta 04 this would be the best
    place to find you answers, also a company called PatriotSoft has a very easy to install pkg
   but this is a beta 2 or 3 version. I started with PatriotSofts  distro and then added the patches
   i need to get up to date on the bug fixes. My box is an alpha so i can't vouch for the ixxx
   versions.

   let me know if you would like more info, Are entire programming department runs sun boxes.


   email: elcarlton250 at earthlink.net







More information about the KDevelop mailing list