public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Andy <spamme416@optusnet.com.au>
To: <gcc-help@gcc.gnu.org>
Subject: pascal strings in C
Date: Mon, 17 Nov 2003 01:45:00 -0000	[thread overview]
Message-ID: <200311170145.hAH1jHj03502@mail007.syd.optusnet.com.au> (raw)


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

                 reply	other threads:[~2003-11-17  1:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200311170145.hAH1jHj03502@mail007.syd.optusnet.com.au \
    --to=spamme416@optusnet.com.au \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).