  C++ and DECwindows Motif Headers? 
 The Question is:
 
Is the C++ 6.2 string class incompatible with Motif?  I get errors when
compiling.  Here's a simple example:
 
#include &lt;Xm/Xm.h&gt;          /* Motif Toolkit */
#include &lt;string.hxx&gt;
 
int main()
 
 
  String        str1 ;
 
   str1 = "This is a string" ;
 
 
$cxx stringx.cxx
 
(lots of warnings, finally)
 
class String
......^
%CXX-E-BADTYPNAMRED, invalid redeclaration of type name "String" (declared
          at line 106 of "SYS$COMMON:[DECW$INCLUDE]INTRINSIC.H;2")
at line number 92 in module STRING.HXX of text library
 SYS$COMMON:[SYSLIB]CXXL$ANSI_DEF.TLB;3
 
%CXX-I-MESSAGE, 1 error detected in the compilation of
 "USER:[JHEIM.C.CXX]STRINGX.CXX;5".
 
Thanks,
 
Jeff Heim
The Mitre Corporation
 
 
 The Answer is:
 
  This most certainly looks to be an incompatibility in the X headers
  or the C++ environment, though the particular error seen with the
  C++ V5.5 compiler does differ.
 
  Please contact the Compaq Customer Support Center directly.
 
