LINUX.ORG.RU

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

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

1. В стандарте явно пишут что такое UB.

Примеры:

If, within a translation unit, the same identifier appears with both internal and external
linkage, the behavior is undefined.

The lifetime of an object is the portion of program execution during which storage is
guaranteed to be reserved for it. An object exists, has a constant address, and retains
its last-stored value throughout its lifetime. If an object is referred to outside of its
lifetime, the behavior is undefined.

Исправление fsb4000, :

1. В стандарте явно пишут что такое UB.

Пример:

If, within a translation unit, the same identifier appears with both internal and external
linkage, the behavior is undefined.

The lifetime of an object is the portion of program execution during which storage is
guaranteed to be reserved for it. An object exists, has a constant address, and retains
its last-stored value throughout its lifetime. If an object is referred to outside of its
lifetime, the behavior is undefined.

Исходная версия fsb4000, :

1. В стандарте явно пишут что такое UB.

Пример:

If, within a translation unit, the same identifier appears with both internal and external
linkage, the behavior is undefined.