🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

warning: -refcnt and -O2 on gcc3.2

#381
From: David Stes
Date: Tue, 15 Oct 2002 18:31
11 lines
1637 bytes
I have a question on GCC 3.2 and GNU statement expression.

According to the GNU gcc info page : " The last thing in the compound statement should be an expression followed by a semicolon; the value of this subexpression serves as the value of the entire construct".

I wonder whether it would be possible to make that : an expression or a compound statement.

To illustrate the point : ({ foo(); }) or ({ foo(); { bar(); }}) 

In the latter case I'd assume bar(); is the value of the entire construct
(but it isn't for the moment using gcc 3.2)
Technical Details
Message-ID: <%9Zq9.163773$8o4.25421@afrodite.telenet-ops.be>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!skynet.be!skynet.be!ossa.telenet-ops.be!afrodite.telenet-ops.be.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,6ab0117443e0a17c,start
X-Google-Attributes: gid11318c,public
X-Google-Thread: 1111a3,6ab0117443e0a17c,start
X-Google-Attributes: gid1111a3,public
X-Google-ArrivalTime: 2002-10-15 11:31:23 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!skynet.be!skynet.be!ossa.telenet-ops.be!afrodite.telenet-ops.be.POSTED!not-for-mail
From: David Stes <stes@D5E02932.kabel.telenet.be>
Subject: warning: -refcnt and -O2 on gcc3.2
Newsgroups: comp.lang.objective-c,gnu.gcc.help
User-Agent: tin/1.5.8-20010221 ("Blue Water") (UNIX) (Linux/2.4.18 (i686))
Lines: 12
Message-ID: <%9Zq9.163773$8o4.25421@afrodite.telenet-ops.be>
Date: Tue, 15 Oct 2002 18:31:23 GMT
NNTP-Posting-Host: 213.224.41.50
X-Complaints-To: abuse@telenet.be
X-Trace: afrodite.telenet-ops.be 1034706683 213.224.41.50 (Tue, 15 Oct 2002 20:31:23 MET DST)
NNTP-Posting-Date: Tue, 15 Oct 2002 20:31:23 MET DST
Organization: Telenet Internet