This is the mail archive of the gcc@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] |
On Thu, Sep 16, 1999 at 01:07:52PM -0700, Mark Mitchell wrote: > The underlying type of the fields is `char' and > you're putting `int' into them. That's no different than: > > char c[4]; > *((int *) &c[0]) = 3; Modulo the alignment argument, isn't this really ok? True, the variable has `char' type, but the storage is only accessed as `int'. r~
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |