Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!ki!dwatts From: dwatts@ki.UUCP (Dan Watts) Newsgroups: comp.unix.aix Subject: Re: Bugs in RISC System/6000 C compiler Keywords: bad macro substitution Message-ID: <860@ki.UUCP> Date: 21 Sep 90 13:22:53 GMT References: <9756@bunny.GTE.COM> Organization: Ki Research, Inc. Derry, NH Lines: 25 In article <9756@bunny.GTE.COM> hhd0@GTE.COM (Horace Dediu) writes: > ... code example deleted ... >Is the problem with the compiler or is there some new convention that no such >substitutions are allowed? I suspect the former, since the substitutions >are performed (see the original error message). >-- >Horace Dediu \"That's the nature of research--you don't know |GTE Laboratories >(617) 466-4111\ what in hell you're doing." `Doc' Edgerton |40 Sylvan Road >UUCP: ...!harvard!bunny!hhd0................................|Waltham, MA 02254 >Internet: hhd0@gte.com or hhd0%gte.com@relay.cs.net..........|U. S. A. If the above examples are correct, you've got spaces in the #define of the function macro. That's not allowed as far as I know. ie: #define CleanupField(field, member) { \ ^-- No space! Try removing the spaces from the macro definitions, and see what happens. -- ##################################################################### # CompuServe: >INTERNET:uunet.UU.NET!ki!dwatts Dan Watts # # UUCP : ...!{uunet | wgc386}!ki!dwatts Ki Research, Inc. # ############### New Dimensions In Network Connectivity ##############