Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.forth > #20556

Re: Announce: gforth-0.7.1

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!gandalf.srv.welterde.de!feeder.erje.net!eu.feeder.erje.net!eweka.nl!lightspeed.eweka.nl!193.141.40.65.MISMATCH!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!news.online.de!not-for-mail
From Bernd Paysan <bernd.paysan@gmx.de>
Newsgroups comp.lang.forth
Subject Re: Announce: gforth-0.7.1
Date Mon, 11 Mar 2013 20:49:43 +0100
Organization 1&1 Internet AG
Lines 20
Message-ID <khlcgr$70u$1@online.de> (permalink)
References <kg8apk$vbv$1@online.de> <e48f8c5f-d1bc-4a84-9ff9-8a00f7478833@googlegroups.com>
NNTP-Posting-Host p5dcd6547.dip0.t-ipconnect.de
Mime-Version 1.0
Content-Type text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding 7Bit
X-Trace online.de 1363031387 7198 93.205.101.71 (11 Mar 2013 19:49:47 GMT)
X-Complaints-To abuse@einsundeins.com
NNTP-Posting-Date Mon, 11 Mar 2013 19:49:47 +0000 (UTC)
User-Agent KNode/4.10.1
Xref csiph.com comp.lang.forth:20556

Show key headers only | View raw


Michael L Gassanenko wrote:

> On Friday, February 22, 2013 9:44:19 PM UTC+4, Bernd Paysan wrote:
>> Since gcc 4.7, gforth-0.7.0 doesn't compile out of the box
> 
> What was the problem?

The newline string was defined as char newline = {} inside a block, and GCC 
now made sure that the livetime of this string does not exceed this block, 
so we need to declare it static const (starting with gcc 4.7).  And some gcc 
4.6.x versions (but not all; this is a bug in GCC, which was fixed in 4.7 
and AFAIK also 4.6.2) failed to compile our static superinstructions 
correctly, so we needed to reorder the way we create the C code (which then 
doesn't trigger the bug).

-- 
Bernd Paysan
"If you want it done right, you have to do it yourself"
http://bernd-paysan.de/

Back to comp.lang.forth | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: Announce: gforth-0.7.1 Michael L Gassanenko <m_l_g3@yahoo.com> - 2013-03-11 01:41 -0700
  Re: Announce: gforth-0.7.1 Bernd Paysan <bernd.paysan@gmx.de> - 2013-03-11 20:49 +0100

csiph-web