C/C++ Mode Selection Switch Descriptions
The following command-line switches provide C/C++ mode selection.
-c89
The
switch directs the compiler to support programs that conform to
-c89
the ISO/IEC 9899:1990 standard. For greater conformance to the stan-
dard, the following switches should be used:
no-extra-keywords
-c++
The
(C++ mode) switch directs the compiler to assume that the
–c++
source file(s) are written in ANSI/ISO standard C++ with Analog Devices
language extensions.
All the standard features of C++ are accepted in the default mode except
exception handling and run-time type identification because these impose
a run-time overhead that is not desirable for all embedded programs.
C/C++ Compiler Common Switch Descriptions
The following command-line switches apply in C and C++ modes.
sourcefile
The
sourcefile
the file (or files) to be preprocessed, compiled, assembled, and/or linked.
A file name can include the drive, directory, file name, and file extension.
The
compiler uses the file extension to determine the operations to
cc219x
perform.
Table 1-2 on page 1-10
matching compiler operations.
VisualDSP++ 3.5 C/C++ Compiler and Library Manual
for ADSP-219x DSPs
, and
-pedantic
parameter (or parameters) switch specifies the name of
lists the permitted extensions and
,
-alttok
-const-read-write
(see in
Table 1-4 on page
Compiler
,
1-13).
1-21
Need help?
Do you have a question about the VISUALDSP++ 3.5 and is the answer not in the manual?
Questions and answers