Path: utzoo!utgpu!attcan!uunet!husc6!mailrus!tut.cis.ohio-state.edu!cwjcc!gatech!gt-eedsp!jensen From: jensen@gt-eedsp.UUCP (P. Allen Jensen) Newsgroups: comp.windows.x Subject: Problem compiling X11R2 on Multiflow under BSD4.3 Keywords: XtOffset, initializer, bug? Message-ID: <389@gt-eedsp.UUCP> Date: 15 Aug 88 14:27:27 GMT Organization: Georgia Institute of Technology Lines: 22 I am in the process of porting the X11R2 libraries and some client routines to a Multiflow TRACE system. The system is a VLIW machine running BSD4.3. When I try to build the libraries, I get lots of "invalid initializer" errors from Xt and Xaw due to the following macro defined in Intrinsic.h: #define XtOffset(type,field) ((unsigned int)&(((type)NULL)->field)) The Multiflow compiler does not like this construct as a static or global initializer. Has anyone else had this problem and if so, how did you correct it (ie can you send me a patch) ? If no one responds with a patch in a few days, I will attempt to correct the problem myself and submit a patch for review. Thanks, -- P. Allen Jensen Georgia Tech, School of Electrical Engineering, Atlanta, GA 30332-0250 USENET: ...!{allegra,hplabs,ihnp4,ulysses}!gatech!gt-eedsp!jensen INTERNET: jensen@gteedsp.gatech.edu