United States |
Previous | Contents |
Default: /NESTED_INCLUDE_DIRECTORY=INCLUDE_FILE (current behavior) UNIX equivalents: -nocurrent_include /NESTED_INCLUDE_DIRECTORY=NONE |
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> |
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 |
Default: /LINE_DIRECTIVES UNIX equivalents: -P /NOLINE_DIRECTIVES -E /LINE_DIRECTIVES |
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 |
Defaults: /NOVERSION UNIX equivalents -V /VERSION default /NOVERSION |
#[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 |
Since the field test of DEC C V1.3, the following major new features have been added to DEC C T4.0.
_ADAWIThe DEC C User's Guide for OpenVMS Systems describes how to use these builtin functions.
_BBCCI
_BBSSI
_FFC and _FFS
_INSQHI, _REMQHI, _INSQTI, _REMQTI, _INSQUE, and _REMQUE
_LOCC
_MOVC3 and _MOVC5
_MOVPSL
_PROBER and _PROBEW
_SCANC, _SKPC, and _SPANC
#define XXX(xxx) 0x##xxx int a = XXX(0Aa); int b = XXX(0Ea); |
Input: char str1[10] = "A"\ "Z"; char str2[10] = 'A'\ 'Z'; Incorrect output for /stand=common/preprocess_only: char str1[10] = "A" "Z"; char str2[10] = 'A' 'Z'; Corrected output for /stand=common/preprocess_only: char str1[10] = "A"\ "Z"; char str2[10] = 'A'\ 'Z'; |
#include <stdio.h> static struct { unsigned a : 6; /* Removing this solves the problem */ unsigned b : 1; /* Changing size to 2 also solves it */ } x = {0}; int badproc(void) { if (x.b > 0) return(1); else return(0); } int main(int argc, char **argv) { printf("%d\n", badproc()); return 0; } |
typedef struct { struct { int field4; int field5[10]; } field3; } struct_t; struct_t return_struct(void); void foo (struct_t y) { int x, z; z = y.field3.field5[0]; /* generate NEEDPOINTER diagnostic below */ x = return_struct().field3.field5[0]; } |
#define SVAL(a,b) 0x ## a ## b int i = SVAL(23a2,0bae); |
extern void func1(const double dbl[][3]); void func2(void) { double adPnts[8][3]; func1 (adPnts); } |
int is_what; int b; void f(void) { b = sizeof(is_what ? "one" : "testing"); } |
int a; static int a = 1; |
7.19 Problems fixed in DEC C V5.3
This kit contains the following bug fixes beyond those contained in DEC
C V5.2:
int i[] = {1, 2, 3}; unsigned int f() { extern int i[]; return sizeof(i); } |
typedef void VFV(); VFV f; VFV f {} |
struct my_s { #pragma message save #pragma message disable portable int one; int two; #pragma message restore }; #include <i_dont_exist.h> |
Previous | Next | Contents |
|