[comp.lang.c++] Xt under g++

cearl@aristotle.ils.nwu.edu (Charles Earl) (08/08/90)

In some initial attempts to compile and link g++ sources using the X Intrinsics
plus X Widget set, I noticed some errors. Namely the g++ compiler has problems
with the declaration

typedef char *String;

in Intrinsic.h. Linking seems to fail (link with X11,Xw,Xt,Xaw,Xmu,g++)
complaining about Xlib functions not being found. (e.g. XFillRectangle).

I suspect that either (a) I'm forgetting to add an important include file/lib
or (b) the g++ connection to X is only robust given some kit like Interviews,
etc. Anyway, seems as though attempting to write Xt applications in g++ should
be somewhat common.

Refs appreciated.

Confused.

Charles Earl
ILS
(708)467-1004