Uploaded image for project: 'Embedded Software & Tools'
  1. Embedded Software & Tools
  2. EXT_EP-11094

tiarmclang documentation fails to clarify that #pragma pack never increases the default alignment

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium

      tiarmclang documentation on #pragma pack says ...

      The pack pragma instructs the compiler to apply an n-byte alignment to the fields within a class, struct, or union type

      However, it should say the maximum alignment of a field is limited to N. If the default alignment of the field is less than N, it is not changed.

            syncuser TI User
            syncuser TI User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: