LINUX.ORG.RU

История изменений

Исправление shkolnick-kun, (текущая версия) :

ISO/IEC 9899:201x

6.2.7 Compatible type and composite type

Two types have compatible type if their types are the same. Additional rules for determining whether two types are compatible are described in 6.7.2 for type specifiers, in 6.7.3 for type qualifiers, and in 6.7.6 for declarators. 55)

  1. Two types need not be identical to be compatible.

6.5.2.3 Structure and union members

6 One special guarantee is made in order to simplify the use of unions: if a union contains several structures that share a common initial sequence (see below), and if the union object currently contains one of these structures, it is permitted to inspect the common initial part of any of them anywhere that a declaration of the completed type of the union is visible. Tw o structures share a common initial sequence if corresponding members have compatible type

Исправление shkolnick-kun, :

ISO/IEC 9899:201x

6.2.7 Compatible type and composite type

Two types have compatible type if their types are the same. Additional rules for determining whether two types are compatible are described in 6.7.2 for type specifiers, in 6.7.3 for type qualifiers, and in 6.7.6 for declarators. 55)

  1. Two types need not be identical to be compatible.

Исправление shkolnick-kun, :

ISO/IEC 9899:201x

6.2.7 Compatible type and composite type

Two types have compatible type if their types are the same. Additional rules for determining whether two types are compatible are described in 6.7.2 for type specifiers, in 6.7.3 for type qualifiers, and in 6.7.6 for declarators. 55)

  1. Tw o types need not be identical to be compatible.

Исходная версия shkolnick-kun, :

ISO/IEC 9899:201x

6.2.7 Compatible type and composite type

Tw o types have compatible type if their types are the same. Additional rules for determining whether two types are compatible are described in 6.7.2 for type specifiers, in 6.7.3 for type qualifiers, and in 6.7.6 for declarators. 55)

  1. Tw o types need not be identical to be compatible.