C++ Mode Compiler Switch Descriptions; Anach - Analog Devices VISUALDSP++ 3.5 Manual

C/c++ compiler and library for adsp-219x processors
Hide thumbs Also See for VISUALDSP++ 3.5:
Table of Contents

Advertisement

Compiler Command-Line Interface

C++ Mode Compiler Switch Descriptions

The following switches apply only to C++.

-anach

The
(enable C++ anachronisms) directs the compiler to accept
-anach
some language features that are prohibited by the C++ standard but still in
common use. This is the default mode. Use the
greater standard compliance.
The following anachronisms are accepted in the default C++ mode:
• Overload is allowed in function declarations. It is accepted and
ignored.
• Definitions are not required for static data members that can be
initialized using default initialization. The anachronism does not
apply to static data members of template classes; they must always
be defined.
• The number of elements in an array may be specified in an array
delete operation. The value is ignored.
• A single
overload both prefix and postfix operations.
• The base class name may be omitted in a base class initializer if
there is only one immediate base class.
• Assignment to this in constructors and destructors is allowed. This
is allowed only if anachronisms are enabled and the assignment to
this configuration parameter is enabled.
• A bound function pointer (a pointer to a member function for a
given object) can be cast to a pointer to a function.
1-52
and
operator++()
VisualDSP++ 3.5 C/C++ Compiler and Library Manual
–no-anach
function can be used to
operator--()
for ADSP-219x DSPs
switch for

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the VISUALDSP++ 3.5 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Related Products for Analog Devices VISUALDSP++ 3.5

Table of Contents