This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re[2]: sizeof bit-fields
- From: Christian Schäfer <caefer at krachstoff dot net>
- To: gcc help <gcc-help at gcc dot gnu dot org>
- Date: Fri, 17 Oct 2003 08:09:48 +0200
- Subject: Re[2]: sizeof bit-fields
- References: <5.2.1.1.0.20031016071317.018963c8@iplan-mn.corp.adobe.com>
- Reply-to: Christian Schäfer <caefer at krachstoff dot net>
hi Eljay,
Thursday, October 16, 2003, 2:25:26 PM, you wrote:
> Hi Massimiliano,
>>How can I obtain a 5 bytes long structure (if it is possible)?
> If you really want the structure to be 5 bytes AND have byte
> alignment, you'll have to do more of the work yourself.
> For example, in C++, I'd do it this way:
> ...
what exactly is c++ about your code? what would not work with pure c?
I've seen structs with functions in c..
gruss
/Christian mailto:caefer@krachstoff.net
---
I propose that the following character sequence for joke markers:
:-)
19-Sep-82 11:44 Scott E Fahlman