public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Joern Rennecke <amylaar@cygnus.co.uk>
To: mrs@wrs.com (Mike Stump)
Cc: egcs@cygnus.com
Subject: Re: #pragma pack
Date: Tue, 14 Oct 1997 07:42:00 -0000	[thread overview]
Message-ID: <199710141440.PAA00180@phal.cygnus.co.uk> (raw)
In-Reply-To: <199710140056.RAA21019@kankakee.wrs.com>

> I will be adding some form of #pragma pack to our C/C++ compiler on
> most platforms to support the inclusion of third party headerfiles
> that assume that the structures are packed.  The open question, is how
> best to achieve that.  I tried HANDLE_SYSV_PRAGMA but that logic fails
> to work, in fact, I don't see how most ports could make use of the
> code in c-pragma.c.  Is there a port that someone can say does
> currently work with that scheme?  My preference is to reuse the most
> popular existing scheme.  Should I just blaze away and fix up c-pragma
> to work as expected?  What is expected?

HANDLE_PRAGMA is due for overhaul, so that it can work together with
USE_CPPLIB.  Its set of arguments will have to be changed.  This
requires changes in the backend as well as in all ports that use
HANDLE_PRAGMA.  I suggest you do that first; when you have done that,
it should be easier to use the code in c-pragma.c, since HANDLE_PRAGMA
should be passed a (not necessarily proper) superset of parameters,
when compared to HANDLE_SYSV_PRAGMA.

  reply	other threads:[~1997-10-14  7:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-10-13 18:42 Mike Stump
1997-10-14  7:42 ` Joern Rennecke [this message]
1997-10-14 16:33 Mike Stump

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=199710141440.PAA00180@phal.cygnus.co.uk \
    --to=amylaar@cygnus.co.uk \
    --cc=egcs@cygnus.com \
    --cc=mrs@wrs.com \
    /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).