Path: utzoo!attcan!uunet!husc6!rutgers!gatech!gt-eedsp!jensen From: jensen@gt-eedsp.UUCP (P. Allen Jensen) Newsgroups: comp.windows.x Subject: Re: Problem compiling X11R2 on Multiflow under BSD4.3 Summary: R3 version of XtOffset does not solve problem Message-ID: <392@gt-eedsp.UUCP> Date: 16 Aug 88 12:57:46 GMT References: <8808152028.AA18193@EXPO.LCS.MIT.EDU> Organization: Georgia Institute of Technology Lines: 17 In article <8808152028.AA18193@EXPO.LCS.MIT.EDU>, jim@EXPO.LCS.MIT.EDU (Jim Fulton) writes: > > The R2 XtOffset macro causes compilers that are fairly picky about pointer > arithmetic to complain. The following version will be used in R3: > > #define XtOffset(type,field) \ > ((unsigned int) (((caddr_t) (&(((type)NULL)->field))) - \ > ((caddr_t) NULL))) Unfortunately, the new macro does not correct the problem. Is the Multiflow compiler to picky ? -- 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