Date: Tue, 13 May 1997 10:11:08 +0200 (MET DST) From: Mikael Karpberg <karpen@ocean.campus.luth.se> To: joerg_wunsch@uriah.heep.sax.de Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: g++ shared library segfaults Message-ID: <199705130811.KAA24381@ocean.campus.luth.se> In-Reply-To: <19970510083142.OD64404@uriah.heep.sax.de> from J Wunsch at "May 10, 97 08:31:42 am"
next in thread | previous in thread | raw e-mail | index | archive | help
According to J Wunsch: > As Justin T. Gibbs wrote: > > > * As described above, the scope of variables declared in the > > initialization part of a for statement has been changed; such > > variables are now visible only in the loop body. Use > > `-fno-for-scope' to get the old behavior. You'll need this flag > > to build groff version 1.09, Ptolemy, and many other free software > > packages. > > Du-oh. While i always considered it poor style to declare a variable > inside a for statement, when it was intended to use it later on, i > think that's a fairly drastic change in the semantics. For those that are interested, here's a nice link to some of the ANSI drafts: http://www.cygnus.com/misc/wp/ /Mikael
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705130811.KAA24381>