Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jan 2008 16:14:00 -0500
From:      Robert Huff <roberthuff@rcn.com>
To:        James Cook <james.cook@utoronto.ca>
Cc:        ports@freebsd.org
Subject:   freebsd-games: hack needs -fwritable-strings
Message-ID:  <18310.35480.307764.676937@jerusalem.litteratus.org>
In-Reply-To: <20080110174126.GA45584@glider>
References:  <20080110174126.GA45584@glider>

next in thread | previous in thread | raw e-mail | index | archive | help
James Cook writes:

>  This seems to be caused by line 170 of hack.u_init.c, which
>  attempts to modify a string constant.
>  
>  SOLUTION:
>  Add -fwritable-strings to CFLAGS in hack's Makefile.  (There's
>  already a patch that changes that line of the Makefile, so this
>  is easy to change.)

	Has something changed in the definition of correctly written
code while I was away at the funny farm?  Why is the solution not
"Don't modify a costant."? 


				Robert Huff



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