Couple solutions I can think of..
1) fix the headers
2) add -permissive to the compiler flags in each Makefile (probably
CXXFLAGS or CPPFLAGS, haven't looked that the makefile in a while)
On Mon, 1 May 2000, Emory Lundberg wrote:
> greetings.
>
> blackbox 0.60 alpha release on a sun sparc ultra 10 running solaris 2.7.
>
> configure worked with some tinkering on my part, and then when i go to build it i
>get the same errors i get when i try to build 0.5xx releases:
>
> /usr/openwin/include/X11/Xutil.h:663: ANSI C++ forbids declaration `XSetSizeHint
> s' with no type
> /usr/openwin/include/X11/Xutil.h:676: ANSI C++ forbids declaration `XSetStandard
> Properties' with no type
> /usr/openwin/include/X11/Xutil.h:701: ANSI C++ forbids declaration `XSetWMHints'
> with no type
> /usr/openwin/include/X11/Xutil.h:770: ANSI C++ forbids declaration `XSetRegion'
> with no type
> /usr/openwin/include/X11/Xutil.h:787: ANSI C++ forbids declaration `XSetZoomHint
> s' with no type
> /usr/openwin/include/X11/Xutil.h:795: ANSI C++ forbids declaration `XShrinkRegio
> n' with no type
> /usr/openwin/include/X11/Xutil.h:811: ANSI C++ forbids declaration `XSubtractReg
> ion' with no type
> /usr/openwin/include/X11/Xutil.h:871: ANSI C++ forbids declaration `XUnionRectWi
> thRegion' with no type
> /usr/openwin/include/X11/Xutil.h:879: ANSI C++ forbids declaration `XUnionRegion
> ' with no type
> /usr/openwin/include/X11/Xutil.h:903: ANSI C++ forbids declaration `XXorRegion'
> with no type
> make[2]: *** [BaseDisplay.o] Error 1
> make[2]: Leaving directory `/export/home/rel/blackbox-0.60.0/src'
> make[1]: *** [all-recursive] Error 1
>
> any ideas?
>
> using gcc 2.95.2.
>
> --
> echo + + > ~/.rhosts && echo baby I got ya money
> http://gravity.hellyeah.com use OpenBSD! http://www.openbsd.org
> gpg/pgp key fingerprint: DE40 C3B3 2D00 B9DF AA58 2A28 3B8C B783 E7BE E971
>
---------------------------------------------------
http://www.clarkson.edu/~cohentl
"Sometimes crazy things happen in circuits." - Muku, 1999
"The answers to lifes problems aren't at the bottom of bottles, they're on
TV" - Homer J. Simpson
---------------------------------------------------