Subject: Re: SHAREDSTRINGS build doesn't.
To: None <current-users@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: current-users
Date: 11/19/2003 18:15:28
In article <Pine.NEB.4.58.0311181420230.2613@rivendell.starwolf.com>,
Greywolf <greywolf@starwolf.com> wrote:
>
>building with SHAREDSTRINGS doesn't build.  There is a twofold problem:
>
>1.  xstr is broken.  It reformats lines from
>	# 3 "file" token token token
>    to
>	#line 3 "file" token token token

this is fixed.

>    which gcc (version 3.3.x) -E ${COPTS} promptly pukes on.
>
>2.  static char *foo = "some string" gets replaced with
>	static char *foo = &xstr[someindex]; something which
>	gcc version 3.3.x apparently treats as an illegal construct.

This is difficult to fix without putting a better parser in xstr.

>Posted about this a while back and got no response; did it not make it
>to the list or is this deemed sufficiently nonessential that it will
>be allowed to entropy?

Well, it is not high up in the foodchain right now :-)

christos