help -g++ Ansi

Neelakanth Nadgir NEELAKANTH.NADGIR@SUN.COM
Fri Feb 11 12:27:00 GMT 2000


Hi,
I was tring to compile some code (ORBacus) and I get the following
errors. I have seen these kind of erros in some other codes too.

Does any one know any flags that turn off ansi compliance? I
have RTFM, but of no avail

any help would be greatly appreciated.
thanks,
-neelakanth

--------------------
In file included from /usr/openwin/include/X11/Intrinsic.h:57,
from X11Reactor.cpp:15:
/usr/openwin/include/X11/Xutil.h:363: ANSI C++ forbids declaration of `XClipBox' with no type
/usr/openwin/include/X11/Xutil.h:389: ANSI C++ forbids declaration of `XDestroyRegion' with no type
/usr/openwin/include/X11/Xutil.h:395: ANSI C++ forbids declaration of `XEmptyRegion' with no type
/usr/openwin/include/X11/Xutil.h:402: ANSI C++ forbids declaration of `XEqualRegion' with no type
/usr/openwin/include/X11/Xutil.h:548: ANSI C++ forbids declaration of `XIntersectRegion' with no type
---------------------



More information about the Gcc mailing list