C/C++ Programmer's Guide (G06.27+, H06.08+, J06.03+)

The run-time checks provided by the CHECK pragma can slow the execution of your program.
Consequently, you should use CHECK only when developing and debugging your program.
The native C and C++ compilers do not support these pragmas. The native C run-time library
does not provide the additional parameter checking provided by the TNS C run-time library.
CODECOV
The CODECOV command line option directs the TNS/E C and C++ compilers to generate object
code containing special instrumentation for use by the Code Coverage Utility.
CODECOV
The instrumentation produced by the CODECOV option consists of extra code that records which
functions and blocks are executed, and how many times each is executed. The Code Coverage
Utility uses this information to produce a report indicating what code in a program file or DLL was
actually executed during one or more invocations. The code coverage report is a set of HTML files
that you can view with any standard HTML browser. For more information about the Code Coverage
Utility, see the Code Profiling Utilities Manual.
The CODECOV default settings are:
SYSTYPE OSSSYSTYPE GUARDIAN
N.A.N.A.TNS C compiler
N.A.N.A.G-series TNS c89 utility
N.A.N.A.TNS/R native C and C++ compilers
Not setNot setNative c89 and c99 utilities
Not setNot setTNS/E native C and C++ compilers
Usage Guidelines
The CODECOV option can be entered only on the compiler RUN command. It can also be
specified with the -Wcodecov flag on the c89 or c99 command in the OSS and Windows
environments.
In the OSS and Windows environments, the -Wcodecov flag has an effect only for
-Wtarget=ipf or -Wtarget=tns/e. It is ignored (and no diagnostic is issued) for
-Wtarget=mips or -Wtarget=tns/r.
Instrumented object code can significantly increase both the compile time and execution time
required by a program. Therefore, the CODECOV option should be used only in a test
environment.
COLUMNS
The COLUMNS pragma specifies the maximum logical line length of the source file.
COLUMNS last-column
last-column
specifies the last column in a source line to process. The compiler ignores any text in the line
beyond this column. last-column must be in the range 20 through 32767.
The pragma default settings are:
SYSTYPE OSSSYSTYPE GUARDIAN
Not setNot setTNS C compiler
Not setNot setG-series TNS c89 utility
CODECOV 179