Hello,
I'm a newbie trying to build OpenDX version 4.1.3 on a Sun SPARC (Solaris
2.8).  I've installed OpenGL (v1.2.2)
and GCC v3.0.1.  I'm getting g++ compile errors whenever Xlib.h is
included.  The error is "ISO C++ forbids
declaration with no type", and occurs on each X prototype in Xlib.h, such
as:

    extern XAddHosts(
    #if NeedFunctionPrototypes
       Display*,
       XHostAddress*,
       int
    #endif
    );

I don't know if this is a problem with OpenDX, or with my GCC
configuration/installation.  The version of X-Window is
X11R6, that came preloaded from SUN.

Anyone seen this before?

Thanks,
Chris Gilbert


Reply via email to