/sys$common/syshlp/helplib.hlb
CC, /ACCEPT

 *Conan The Librarian (sorry for the slow response - running on an old VAX)

     /ACCEPT=(option[,option])

  Allows the compiler to accept C language syntax that it might not
  normally accept.

  Compaq C accepts slightly different syntax depending upon the
  compilation mode specified with the /STANDARD qualifier.  The
  /ACCEPT qualifier can fine tune the language syntax accepted by
  each /STANDARD mode.

  Specify one of the following qualifier options:

   [NO]C99_KEYWORDS      Controls whether or not the C99 Standard
                         keywords inline and restrict (which are are
                         in the C89 namespace for user identifiers)
                         are accepted without double leading
                         underscores.  The spelling with two leading
                         underscores (__inline, __restrict) is in the
                         namespace reserved to the compiler
                         implementation and is always recognized as a
                         keyword regardless of this option.

                         In /STANDARD=RELAXED_ANSI89 mode, the
                         default is C99_KEYWORDS.  In all other
                         compiler modes, the default is
                         NOC99_KEYWORDS.

   [NO]GCCINLINE         The gcc compiler implements an inline
                         function qualifier for functions with
                         external linkage that gives similar
                         capabilites as the C9x extern inline feature
                         for functions, but the usage details are
                         somewhat different:  the combination of
                         extern and inline keywords makes an inline
                         definition, instead of the exlusive use of
                         the inline keyword without the extern
                         keyword.  This option controls which
                         variation of the feature is implemented.

                         In all compiler modes, the default is
                         NOGCCINLINE.

   [NO]VAXC_KEYWORDS     Controls whether or not the compiler
                         recognizes the VAX C keywords (such as
                         "readonly") regardless of the /STANDARD mode
                         used.

   [NO]RESTRICT_KEYWORD  Controls whether or not the compiler
                         recognizes the C9x standard restrict keyword
                         regardless of the /STANDARD mode used.

                         This only affects recognition of the
                         spelling of the keyword as proposed for
                         inclusion in the C9x standard.  The spelling
                         with two leading underscores, __restrict, is
                         in the namespace reserved to the compiler
                         implementation, and it is always recognized
                         as a keyword regardless of this option.

                         Note that [NO]RESTRICT_KEYWORD is a subset
                         of [NO]C99_KEYWORDS.  They have the same
                         compiler-mode defaults.

 The default values are based upon the settings of the /STANDARD
 qualifier:

 For /STANDARD=RELAXED_ANSI89, the default is:
  /ACCEPT=(VAXC_KEYWORDS,C99_KEYWORDS,NOGCCINLINE)

 For /STANDARD=VAXC, the default is:
  /ACCEPT=(VAXC_KEYWORDS,NOC99_KEYWORDS,NOGCCINLINE)

 In all other modes, the default is:
  /ACCEPT=(NOVAXC_KEYWORDS,NOC99_KEYWORDS,NOGCCINLINE)
  Close     HLB-list     TLB-list     Help  

[legal] [privacy] [GNU] [policy] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.