public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* pascal strings in C
@ 2003-11-17  1:45 Andy
  0 siblings, 0 replies; only message in thread
From: Andy @ 2003-11-17  1:45 UTC (permalink / raw)
  To: gcc-help


Dear GCC Developers:

I'm working on porting a project which uses pascal-style strings in C++ 
code, for example like this:   unsigned char *str = "\phello";

Please could you tell me if it is possible to make GCC support these 
pascal strings.

I did some searches and noticed that a pascal string patch was submitted 
in 2001, but I don't know whether it made it into GCC.  I tried using the 
"-fpascal-strings" option with GCC, but it said it was unrecognized.  
What can I do?

I notice that Apple's version of GCC supports the "-fpascal-strings" 
option.  Has this feature been integrated into the main distribution?  I 
suppose I could try to use Apple's version of GCC, but that probably 
won't work because I need to compile for x86, not PowerPC.

Please reply to:  spamme416@optusnet.com.au

Thanks very much.

Andy

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-11-17  1:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-17  1:45 pascal strings in C Andy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).