Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!mordor!sri-spam!ames!pasteur!ucbvax!ROVER.UMD.EDU!jonnyg From: jonnyg@ROVER.UMD.EDU (Jon Greenblatt) Newsgroups: comp.windows.x Subject: X.V11R2 on the RT Message-ID: <8803031836.AA05252@rover.UMD.EDU> Date: 3 Mar 88 18:36:25 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 18 I started to compile the core.src on the IBM RT and found a problem. Add the the following lines to the begining of ./lib/X/Xlibint.h to fix the problem: #ifdef __STDC__ #undef __STDC__ #endif You may want to elaborate the #ifdef further if you are using more than one architecture for the source. The problem is that hc is an ansi like compiler but defines the __STDC__ define which is not ansi. This causes macro expansions in Xlibint.h to use ##'s instead of /**/'s as a macro spacer. Jon Greenblatt. (jonnyg@rover.umd.edu) (jonnyg@umd5.umd.edu)