[comp.windows.x] g++ and Xwindows' Intrinsic.h include file

noren@dinl.uucp (Charles Noren) (08/01/90)

We are trying to include the X11R4 Intrinsic.h file
in an application program being compiled under g++.
The g++ parser flags line #102 of Intrinsic.h

   typedef char *String;

Now we think that Intrinsic.h defines String as

   #define String char*

earlier in Intrinsic.h.  This combination of definitions
looks wrong.  Has anyone run into this problem?  Is there
a solution?  Has anyone successfully compiled a program which 
includes Intrinsic.h with g++?  Any comments are welcome.

Thanks,

-- 
Chuck Noren
NET:     dinl!noren@ncar.ucar.edu
US-MAIL: Martin Marietta I&CS, MS XL8058, P.O. Box 1260,
         Denver, CO 80201-1260
Phone:   (303) 971-7930