This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: GCC and p-strings ?



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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]