Содержащиеся вНайти другие документыРесурсы поддержки | Загрузить это руководство в формате PDF (2106 КБ)
2.2 Linker Scoping SpecifiersUse the following declaration specifiers to help hide declarations and definitions of extern symbols. By using these specifiers, you no longer need to use mapfiles for linker scoping. You can also control the default setting for variable scoping by specifying -xldscope on the command line. For more information, see B.2.102 -xldscope={v}. Table 2–2 Declaration Specifiers
An object or function may be redeclared with a more restrictive specifier, but may not be redeclared with a less restrictive specifier. A symbol may not be declared with a different specifier once the symbol has been defined. __global is the least restrictive scoping, __symbolic is more restrictive, and __hidden is the most restrictive scoping. |