I'm thinking it's because you've include C-ish headers
into C++-ish code. Did you do an:
extern "C"
{
#include <foo.h>
}
The exact cause of this error is usually function
declerations like:
foo(int x) { ... }
which is implicitly expanded to
int foo(int x) { ... }
In C, but is illegal in C++.
I could be on crack here, but that's my 2 cents worth.
-kt
Ricardo Rugerio wrote:
> hi guys
>
> it happens I am doing my thesis work in UNIX (linux
> especifically), and I am using vdkbuilder and mesa...
>
> by now I am working in my linux box, and I want
> make some changes and work on it in my work place...
>
> I have a Ultra Sparc here in my work, and I had
> compiled mesa succesfully, but when I tried compile
> vdk, I got this:
>
> *****
> *****
> /usr/openwin/include/X11/Xutil.h:811: ANSI C++
> forbids declaration `XSubtractRegion' with no type
> /usr/openwin/include/X11/Xutil.h:871: ANSI C++ forbids
> declaration `XUnionRectWithRegion' 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]: *** [forms.lo] Error 1
> make[2]: Leaving directory
> `/home/ricardo/vdk-1.2.5/vdk'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/ricardo/vdk-1.2.5'
> make: *** [all-recursive-am] Error 2
> k7cc2-root-tcsh>grep XClipBox
> /usr/openwin/include/X11/Xutil.h
>
> I already have asked to VDK list, but they
> didn't know....
>
> only if anybody know some about this....
>
> please, I hope U can helpme.
>
> rick.
>
> if anybody doesn't know I'll undestand it.
>
> __________________________________________________
> Do You Yahoo!?
> Try FREE Yahoo! Mail - the world's greatest free email!
> http://mail.yahoo.com/
>
> _______________________________________________
> Xmame mailing list
> [EMAIL PROTECTED]
> http://toybox.twisted.org.uk/mailman/listinfo/xmame
>
>
--
Kingsley Turner,
(mailto: [EMAIL PROTECTED])
http://MadDogsBreakfast.com - Travel Tales: The good, bad, and down-right ugly
_______________________________________________
Xmame mailing list
[EMAIL PROTECTED]
http://toybox.twisted.org.uk/mailman/listinfo/xmame