"X11 and Motif define String, and this conflicts with the String class in libg++. How can I use both together?"
One possible method is the following:
#define String XString #include <X11/Intrinsic.h> /* include other X11 and Motif headers */ #undef String
and remember to use the correct String
or XString
when
you declare things later.