Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!bloom-beacon!EXPO.LCS.MIT.EDU!jim From: jim@EXPO.LCS.MIT.EDU (Jim Fulton) Newsgroups: comp.windows.x Subject: re: Problem compiling X11R2 on Multiflow under BSD4.3 Message-ID: <8808152028.AA18193@EXPO.LCS.MIT.EDU> Date: 15 Aug 88 20:28:36 GMT Sender: daemon@bloom-beacon.MIT.EDU Organization: X Consortium, MIT Laboratory for Computer Science Lines: 11 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))) Jim Fulton MIT X Consortium