🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.objective-c
Article #402

Re: Hole in preprocessor support of Obj-C?

#402
From: Josh DuBois
Date: Thu, 17 Apr 1997 00:00
33 lines
1510 bytes
In comp.sys.next.programmer article <3355731A.24A@vnp.com> you wrote:
>...
> 
> The workaround is to surround your NSString constructor with
> parentheses.  The preprocessor treats parenthesized expressions as
> indivisible chunks, but not expressions surrounded by square brackets.
> 
		Howdy, 

		Yeah, I'm aware of the workaround, but I'd rather not have  
to do that.  I didn't figure next would have fixed it, but I was hoping a  
newer version of gcc might have addressed the problem.  

		maybe I'll download the latest version & try it;)
			(might it be possible to replace the preprocessor  
I'm using with an updated version of the gcc preprocessor if it's fixed  
there?)

			take it easy & thanks, 

				Josh.

> 
> Josh DuBois wrote:
> > 
> >         Hey, there -
> > 
> >                 someone here just noticed what looks to me like a hole  
in
> > gcc's preprocesor support for Obj-C.  We're trying to implement a  
macro
> > for exception raising...
Technical Details
Message-ID: <5j5kqd$4g6@medusa.is.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3355731A.24A@vnp.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,30fc78d511a0d982
X-Google-Attributes: gid11318c,public
X-Google-Thread: 1111a3,30fc78d511a0d982
X-Google-Attributes: gid1111a3,public
From: duboisj@gondolin.is.com (Josh DuBois)
Subject: Re: Hole in preprocessor support of Obj-C?
Date: 1997/04/17
Message-ID: <5j5kqd$4g6@medusa.is.com>
X-Deja-AN: 235665832
References: <3355731A.24A@vnp.com>
Organization: Integrity Solutions, Inc.
Newsgroups: comp.lang.objective-c,gnu.gcc.help