/sys$common/syshlp/helplib.hlb CC, Messages, GLOBALEXT *Conan The Librarian (sorry for the slow response - running on an old VAX) |
Message A storage class of globaldef, globalref, or globalvalue is a language extension. Description These storage classes are language extensions of Compaq C. Other C compilers might not successfully compile a program that uses the extension. User Action These storage classes can be recoded using the more portable #pragma extern model. <code_example> globaldef int var1; globalref int var2; globalvalue int var3; <endcode_example> Can be written as: <code_example> #pragma extern_model save #pragma extern_model strict_refdef int var1; extern int var2; #pragma extern_model globalvalue extern int var3; #pragma extern_model restore <endcode_example> For more information, consult the #pragma extern_model documentation.
|