Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!husc6!rutgers!psuvax1!shire.cs.psu.edu!ehrlich From: ehrlich@shire.cs.psu.edu Newsgroups: comp.windows.x Subject: X11 R3 on RTs (again) Message-ID: <4544@psuvax1.cs.psu.edu> Date: 3 May 89 13:02:51 GMT Sender: news@psuvax1.cs.psu.edu Reply-To: ehrlich@shire.cs.psu.edu () Organization: Department of Computer Science, Penn State University Lines: 29 After obtaining the `new' X11 R3 server code from expo I tried to make World only to discover that the MetaWare High-C compiler version 1.4r gets extremely upset with the XtOffset macro defined in X11/Instrinsic.h and complains with errors like the following every time the macro is used: E "Composite.c",L36/C16: | Must be a compile- or load-time computable expression. Object module not generated. The PCC compiler doesn't seem to think that what XtOffset does is a problem, but I would prefer not to compile all of X11R3 with PCC. Also I do not want to have to figure out every module that uses the XtOffset macro and change the Imakefiles to use PCC on them. Has anyone else come across this? Does anyone have a suggestion for a solution? I was about to write an XtOffset function to replace the macro but would like to hear other suggestions before I proceed. Thanks in advance. -- Dan Ehrlich | Disclaimer: The opinions expressed are The Pennsylvania State University | my own, and should not be attributed Department of Computer Science | to anyone else, living or dead. University Park, PA 16802 | Dan Ehrlich | Disclaimer: The opinions expressed are The Pennsylvania State University | my own, and should not be attributed Department of Computer Science | to anyone else, living or dead. University Park, PA 16802 |