Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!munnari.oz.au!csc.anu.oz.au!csis!ken From: ken@csis.dit.csiro.au (Ken Yap) Newsgroups: comp.windows.x Subject: Intrinsic.h bug in X11R4? Message-ID: <1990Sep18.064845.19494@csis.dit.csiro.au> Date: 18 Sep 90 06:48:45 GMT Organization: CSIRO Division of Information Technology Lines: 27 I'm trying to compile a program with g++. I get this diagnostic: /local/include/X11/Intrinsic.h:102: parse error before `char' Looking at line 102: typedef char *String; but a few lines above: #if defined(__cplusplus) || defined(c_plusplus) #define CONST const /* make const String do the right thing */ #define String char* <- huh? #else #define CONST #endif /* __cplusplus */ What's happening here? Have I missed a patch? Here are the version lines: * $XConsortium: Intrinsic.h,v 1.131 90/02/06 17:41:27 converse Exp $ * $oHeader: Intrinsic.h,v 1.10 88/09/01 10:33:34 asente Exp $ Thanks in advance. Ken ken@csis.dit.csiro.au