you gotta add -fpermissive to CXXFLAGS in your src/Makefile and
util/Makefile.

-BJ

-----Original Message-----
From: Emory Lundberg
To: [EMAIL PROTECTED]
Sent: 5/1/00 7:50 AM
Subject: ANSI C++ forbids declaration `<func>` Solaris 7, Sparc, bb 0.60

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

Reply via email to