delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/06/20:03:05

From: nxk3 AT dante DOT student DOT cwru DOT edu (Natarajan Krishnaswami)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: C++ packed structs..
Date: 6 Mar 1997 23:26:52 GMT
Organization: Case Western Reserve University, Cleveland OH (USA)
Lines: 37
Message-ID: <slrn5hukki.1d0.nxk3@dante.student.cwru.edu>
References: <33142636 DOT C9D AT cmr DOT no> <5f7fuj$c4i AT news DOT epcc DOT edu>
Reply-To: nxk3 AT dante DOT cwru DOT edu
NNTP-Posting-Host: dante.student.cwru.edu
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

-----BEGIN PGP SIGNED MESSAGE-----

On 28 Feb 1997 20:41:55 GMT, Beautiful Savior Lutheran Church <av568 AT rgfn DOT epcc DOT edu> wrote:
> This is correct. AFAIK, __attribute__((packed)) not working in C++ mode 
> is a problem with g++, not with C++ itself.

It's not a problem with C++, as it has no __attribute__((packed)). :-)

I don't know if I would call it a problem with g++, either: what would
be the meaning of
  struct foo {
    int bar;
    void baaz();
    int quux;
  } __attribute__((packed));


TTFN,
N.
- -==(UDIC)==-
"For once I myself saw with my own eyes the Sybil at Cumae hanging
in a cage, and when the boys said to her, 'Sybil, what do you want?'
she replied, 'I want to die.'"

					- From the _Satyricon_ by Petronius

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3a
Charset: noconv
Comment: Finger nxk3 AT dante DOT cwru DOT edu for my public key

iQCVAwUBMx9R8UShu6QHiGEJAQFwKgP/biIGl9iVuf85BeXGMwUAZIVrhCBS3RCQ
qlUKizU731WlppAoP1b9DidMXE3rIbQaM4Jfezrx30PKhzi1O7nv/WYxgTLRxVtT
eXbCm7+euVbh0pqzbuVh4LVjPU+AjfD2bmsvDCY1Xb6FgdhRf7p2o1RmkEARjHSy
rwKfIcxQ4RQ=
=IyCG
-----END PGP SIGNATURE-----

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019