🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Hole in preprocessor support of Obj-C?

#400
From: Luke Blanshard
Date: Wed, 16 Apr 1997 00:00
18 lines
1403 bytes
I submitted a bug report to Next maybe a year and a half ago about
this.  I haven't tried it again lately, but I doubt if it's fixed.  The
real issue, I think, is that no one wants to mess with the preprocessor
because it's not ObjC-specific.

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.


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: <3355731A.24A@vnp.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <5j117u$oe6@medusa.is.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
X-Google-Thread: f9256,30fc78d511a0d982
X-Google-Attributes: gidf9256,public
X-Google-Thread: 14ede5,30fc78d511a0d982
X-Google-Attributes: gid14ede5,public
From: Luke Blanshard <luke@vnp.com>
Subject: Re: Hole in preprocessor support of Obj-C?
Date: 1997/04/16
Message-ID: <3355731A.24A@vnp.com>
X-Deja-AN: 235320174
References: <5j117u$oe6@medusa.is.com>
Organization: VNP Software, Inc.
Reply-To: luke@vnp.com
Newsgroups: comp.lang.objective-c,comp.sys.next.programmer,gnu.gcc.help,gnu.gcc.bugs