[comp.windows.x] Xt Class defin. bug

jeg@LINUS.MITRE.ORG (Janet Gardner) (11/14/89)

I have created a new widget class, an all seems fine except that
when I include the <X11/CoreP.h> file I get the following errors.

"/usr/include/X11/CoreP.h", line 65: syntax error at or near variable name "XtTMRec"
"/usr/include/X11/CoreP.h", line 107: syntax error at or near variable name "XtProc"
*** Error code 1

I am running on a SUN3 with OS3.5

The CoreP.h file seems ok, 

Any suggestions?

	J Gardner <jeg@mbunix.mitre.org>
*

swick@ATHENA.MIT.EDU (Ralph R. Swick) (11/14/89)

> I have created a new widget class, an all seems fine except that
> when I include the <X11/CoreP.h> file I get the following errors.
>
> "/usr/include/X11/CoreP.h", line 65: syntax error at or near variable
name "XtTMRec"
> "/usr/include/X11/CoreP.h", line 107: syntax error at or near
variable name "XtProc"

Looks like you need to #include <X11/IntrinsicP.h>.
This flaw should be fixed by R4.