Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

GCC allows specifying attributes of variables and structures using the keyword __attribute__((__packed__)).

This means that that GCC will not add any padding bytes (for memory alignment) and make variables or fields immediately next to each other.

...