United States    
COMPAQ STORE | PRODUCTS |
SERVICES | SUPPORT | CONTACT US | SEARCH
Compaq C V6.4 for OpenVMS VAX Release Notes

Compaq C V6.4 for OpenVMS VAX Release Notes


Previous Contents


 
    Default: /NESTED_INCLUDE_DIRECTORY=INCLUDE_FILE 
            (current behavior) 
 
    UNIX equivalents: 
     -nocurrent_include  /NESTED_INCLUDE_DIRECTORY=NONE 
 

  • /MMS_DEPENDENCY[=(FILE[=filespec] | [NO]SYSTEM_INCLUDE_FILES ,... )] /NOMMS_DEPENDENCY has been added
    The qualifier /MMS_DEPENDENCY tells the compiler to produce a dependency file. The format of the dependency file is similar to that on Digital UNIX.


     
        object_file_name :<TAB><source file name> 
     
        object_file_name :<TAB><path to first include file> 
        object_file_name :<TAB><path to second include file> 
     
    

    The FILE subqualifier specifies where to save the dependency file. The default file extension for a dependency file is .mms. Other than using the different default extension, this qualifier uses the same procedure as /OBJECT and /LIST for determining the name of the output file.
    The SYSTEM_INCLUDE_FILES subqualifier specifies whether or not to include dependency information about system include files. That is, those included with #include <filename>. The default is to include dependency information about system include files.


     
        Default: /NOMMS_DEPENDENCY 
     
        UNIX equivalents: 
            -M              /MMS_DEPENDENCY=SYS$OUTPUT 
            -MD             /MMS_DEPENDENCY 
            -MM             /MMS_DEPENDENCY= 
                                 (FILE=SYS$OUTPUT, 
                                  NOSYSTEM_INCLUDE_FILES) 
            default         /NOMMS_DEPENDENCY 
     
    

  • /[NO]LINE_DIRECTIVES has been added.
    This qualifier governs whether or not #line directives appear in preprocess output files. Currently, there is no way to specify the form of the line directives. DEC C and C++ always generate the traditional pcc and VAX C form omitting the "line" naming the directive, even in the ANSI modes of the compiler.


     
        Default:    /LINE_DIRECTIVES 
     
        UNIX equivalents: 
            -P                  /NOLINE_DIRECTIVES 
            -E                  /LINE_DIRECTIVES 
     
    

  • /COMMENTS=(AS_IS,SPACE) /NOCOMMENTS has been added
    This qualifier governs whether or not comments appear in preprocess output files. If they do not appear, it specifies what replaces them.
    AS_IS specifies that the comment appears in the output file. SPACE specifies that a single space replaces the comment in the output file. /NOCOMMENTS specifies that nothing replaces the comment in the output file. This may result in inadvertent token pasting.
    The C and C++ preprocessor may replace a comment at the end of a line or a line by itself with nothing, even if /COMMENTS=SPACE is specified. Doing so cannot change the meaning of the program.


     
        Default: 
            /NOCOMMENTS in the VAXC and COMMON modes of the 
                        C compiler 
            /COMMENTS=SPACE for C++ and the ANSI modes of 
                        the C compiler 
            An explicit /COMMENTS on the command line 
               defaults to /COMMENTS=AS_IS. 
     
        UNIX equivalents: 
            -oldcomment         /NOCOMMENTS 
            -C                  /COMMENTS=AS_IS 
            default             /COMMENTS=SPACE 
     
    

  • /[NO]VERSION has been added.
    This is a completely new qualifier intended to make it easier for users to report which compiler they are using.
    This qualifier causes the compiler to print out via printf the compiler version and platform and to exit without performing any other actions. Because of the DCL syntax for the cc command, it is still necessary to specify a source file name. (The null device, NL:, is adequate for this purpose - it is not necessary to have a real source file).
    The compiler version is the same as in the listing file.


     
        Defaults:               /NOVERSION 
     
        UNIX equivalents 
            -V                  /VERSION 
            default             /NOVERSION 
     
    

  • #dictionary Support
    The #dictionary directive has been enhanced. The syntax and features are the same as for DEC C V4.0 on OpenVMS/VAX, except that V5.0 will also accept two new keywords, text1_to_array and text1_to_char.


     
     #[pragma] dictionary "pathname" [null_terminate] 
                  [name(struct_name)] 
                  [text1_to_array | text1_to_char] 
     
     pathname: a quoted pathname for a CDD record to be 
               extracted 
     
     null_terminate: an optional keyword which adds an 
               additional byte for the null character 
               when a data type of text is extracted 
     
     name():   an optional keyword to supply an alternate 
               tag name or declarator, struct_name, for the 
               outer level of a CDD structure. 
     
     text1_to_char: an optional keyword which forces the 
               CDD type text to be translated to char, 
               rather than array of char if the size is 1. 
               This is the default, unless null_terminate 
               was specified. 
     
     text1_to_array: an optional keyword which forces the 
               CDD type text to be translated to type array 
               of char, even when the size is 1. This is the 
               default when null_terminate is 
    specified 
    

    7.12 New Features in DEC C V4.0

    Since the field test of DEC C V1.3, the following major new features have been added to DEC C T4.0.

    7.13 Problems fixed in Compaq C V6.4

    7.14 Problems fixed in Compaq C V6.2

    7.15 Problems fixed in DEC C V6.0


    7.16 Problems fixed in DEC C V5.7


    7.17 Problems fixed in DEC C V5.6


    7.18 Problems fixed in DEC C V5.5

    7.19 Problems fixed in DEC C V5.3

    This kit contains the following bug fixes beyond those contained in DEC C V5.2:



    Previous Next Contents
      

    1.800.AT.COMPAQ

    privacy and legal statement