Skip to content

[Feature] Add bit fields endianness ordering blocks #263

Description

@wipawel

Suggested by minipli:

The order of bit field members in C is implementation defined and for gcc it's defined by the ABI.
We should add a block like this, in case someone wants to add Aarch64 support or the like:

#if  __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
// order as above
#else 
// reverse order
#endif

Metadata

Metadata

Assignees

No one assigned

    Labels

    Priority: 4Nice-to-have featurefeatureNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions