This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC and p-strings ?
- To: qmk <qmk at mac dot com>
- Subject: Re: GCC and p-strings ?
- From: Dale Johannesen <dalej at apple dot com>
- Date: Tue, 25 Sep 2001 13:40:10 -0700
- Cc: Dale Johannesen <dalej at apple dot com>, gcc at gcc dot gnu dot org
On Tuesday, September 25, 2001, at 12:54 PM, qmk wrote:
> Hi There
>
> I need to port a large amount of code to Linux. The trouble is, this
> code was written using CodeWarrior for Mac and for Windows, and it
> extensively uses some extensions that CodeWarrior has.
>
> In particular, it uses p-strings ("\pLike this"), ie pascal style strings
> with a length byte at the start instead of a terminating null, and four
> char codes ('abcd').
>
> Could you tell me if GCC supports p-strings?
No, but all is not necessarily lost. There was a patch submitted in July
that
attempted to get them in. After several rounds of email, this appears to
have
died, for now, but you can apply the patch yourself and see if it works
for you.
This
http://gcc.gnu.org/ml/gcc-patches/2001-08/msg00613.html
seems to be the most recent version.