Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Aug 2008 11:20:03 GMT
From:      Paul Marquis <pmarquis@pobox.com>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/126441: textproc/isearch fix build with gcc4.2
Message-ID:  <200808111120.m7BBK3G7052360@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/126441; it has been noted by GNATS.

From: Paul Marquis <pmarquis@pobox.com>
To: pfgshield-freebsd@yahoo.com
Cc: FreeBSD-gnats-submit@FreeBSD.org
Subject: Re: ports/126441: textproc/isearch fix build with gcc4.2
Date: Mon, 11 Aug 2008 07:01:43 -0400

 This may fix compilation, but have you tested the resulting program?  I'm 
 concerned about removing the -fwritable-string option, which is described here:
 
 Store string constants in the writable data  segment  and  don't uniquize  them. 
    This  is  for  compatibility with old programs which assume they can write 
 into string constants.  `-traditional' also has this effect.  Writing  into 
 string  constants is a very bad idea; "constants" should be constant.
 
 The original developers must have added this argument for a reason.  I suspect 
 there was some bad runtime behavior that required them to add this argument.
 
 Pedro Giffuni wrote:
 > bah.. a minor fix ... I was including 
 > CFLAGS+= ${CXXFLAGS}
 > which, of course, adds CFLAGS twice.
 > 
 > sorry :(.
 > 
 > 
 > 
 >       Posta, news, sport, oroscopo: tutto in una sola pagina. 
 > Crea l&#39;home page che piace a te!
 > www.yahoo.it/latuapagina
 
 
 -- 
 Paul Marquis
 pmarquis@pobox.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808111120.m7BBK3G7052360>