A work-around solution to the problem. This work around was originated from John Zweizig <jzweizig@ligo.caltech.edu> Hope this helps (for other people too.) HP --------- John's solution-------------------------------------- I also had to work around two other problems. First, gcc-2.95.1 doesn't allow function definitions without a return type unless they are in /usr/include. Unfortunately, some standard X11 headers don't have return types. The solution for this is to make the symbolic link /usr/include/X11 -> /usr/openwin/include/X11 and to remove -I/usr/openwin/include from CXXFLAGS and CFLAGS in Makefile.solarisegcs. ---------- Eddy's problem-------------------------------------- >g++ -O -D__SunOS_5_6 -fPIC -I/usr/openwin/include -Iinclude -o x11/src/GX11Gui.o -c x11/src/GX11Gui.cxx >In file included from include/TGX11.h:31, > from x11/src/GX11Gui.cxx:32: >/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
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:30 MET