📄 co-vms.lnt
字号:
// Compiler Options -- Vax VMS Version
// This file contains options to allow FlexLint to process source
// files for your compiler. It is used as follows:
//
// lint co-vms.lnt source-file(s)
//
// Special options
-$ // enable $ as identifier character
-elib(760) // suppress message 760 (multiple identical macro defs)
// while processing compiler (library) header files.
-elib(612) // suppress message 612 while processing stdio.h,
// it contains extern struct {...};
// Include Directory
/* -iSYS$LIBRARY:
Commented out because not all installations are the same
*/
// the following options serve to replace identifiers encountered
// on #include lines with conventional file-name references.
// This assumes a -i option to specify the directory in which these
// files appear. We have used -#d rather than -d so that the
// definitions have no effect on non preprocessor lines. (Consider:
// struct time { ...
-#dassert=<assert.h>
-#dctype=<ctype.h>
-#dfloat=<float.h>
-#dlimits=<limits.h>
-#dlocale=<locale.h>
-#dmath=<math.h>
-#dsetjmp=<setjmp.h>
-#dsignal=<signal.h>
-#dstdarg=<stdarg.h>
-#dstddef=<stddef.h>
-#dstdio=<stdio.h>
-#dstdlib=<stdlib.h>
-#dstring=<string.h>
-#dtime=<time.h>
// Reserved words
+rw(globalref,globalvalue,globaldef,noshare,readonly)
// Predefined symbols
-dvax=1
-dvms=1
-dVMS=1
-dvaxc=1
-dVAXC=1
-dvax11c=1
-dVAX11C=1
-dCC$gfloat=0
-d_align()=
+cpp(CXX) // treat .CXX as a C++ extension
// The following options temporarily switch on the fab
// flag for variant struct's and union's
-d"variant_struct=/*lint ++fab */ struct /*lint --fab */"
-d"variant_union=/*lint ++fab */ union /*lint --fab */"
// The following functions exhibit variable return modes.
// That is, they may equally-usefully be called for a value
// as called just for their effects. Accordingly we inhibit
// Warning 534 for these functions. Feel free to add to or subtract
// from this list.
-esym(534,close,creat,fclose,fflush,fprintf,fputc)
-esym(534,fputs,fscanf,fseek,fwrite,lseek,memcpy,memmove,memset)
-esym(534,printf,puts,scanf,sprintf,sscanf,strcat,strcpy)
-esym(534,strncat,strncpy,unlink,write)
-wlib(1) // Sets warning level within library headers to 1
// (i.e. suppress Warning and Info messages within libraries)
// If you are actually checking library code you may want
// to comment out this option.
+ppw(dictionary) // support #dictionary
+pragma(dictionary,ppw) // support #pragma dictionary
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -