LINUX.ORG.RU

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

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

Я нашёл пункт в стандарте С++:

Each identifier that begins with an underscore is reserved to the implementation for use as a name in the global namespace.

http://eel.is/c++draft/lex.name#3.2

И пункт в стандарте С: http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2596.pdf

6.4.2:

All identifiers that begin with an underscore are reserved for use as identifiers with file scopein both the ordinary and tag name spaces.

+ clang в режиме С кода(и С++ тоже) выдал error.

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

Я нашёл пункт в стандарте С++:

Each identifier that begins with an underscore is reserved to the implementation for use as a name in the global namespace.

http://eel.is/c++draft/lex.name#3.2

И пункт в стандарте С: http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2596.pdf

6.4.2:

All identifiers that begin with an underscore are reserved for use as identifiers with file scopein both the ordinary and tag name spaces.
  • clang в режиме С кода(и С++ тоже) выдал error.