This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re[2]: sizeof bit-fields


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]