Pragma No_Component_Reordering (GNAT Reference Manual)

### 2.115 Pragma No_Component_Reordering ¶

Syntax:

    pragma No_Component_Reordering [([Entity =>] type_LOCAL_NAME)];

`type_LOCAL_NAME` must refer to a record type declaration in the current declarative part. The effect is to preclude any reordering of components for the layout of the record, i.e. the record is laid out by the compiler in the order in which the components are declared textually. The form with no argument is a configuration pragma which applies to all record types declared in units to which the pragma applies and there is a requirement that this pragma be used consistently within a partition.