/sys$common/syshlp/HELPLIB.HLB  —  CC  /ACCEPT
     /ACCEPT=(option[,option])

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

  VSI 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 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]TRIGRAPHS          Turns trigraph support on or off.  In
                         COMMON and VAXC compiler modes, trigraphs
                         are disabled by default.  In all other
                         modes, they are enabled by default.

   [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 the default is:
  /ACCEPT=(VAXC_KEYWORDS,C99_KEYWORDS,NOGCCINLINE,TRIGRAPHS)

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

 For /STANDARD=COMMON, the default is:
  /ACCEPT=(NOVAXC_KEYWORDS,NOC99_KEYWORDS,NOGCCINLINE,NOTRIGRAPHS)

 For /STANDARD=C99 or /STANDARD=LATEST, the default is:
  /ACCEPT=(NOVAXC_KEYWORDS,C99_KEYWORDS,NOGCCINLINE,TRIGRAPHS)

 In all other modes, the default is:
  /ACCEPT=(NOVAXC_KEYWORDS,NOC99_KEYWORDS,NOGCCINLINE,TRIGRAPHS)
Close Help