-wchar-t-is
Specify the nature of type specifier wchar_t
for your
compiler
Syntax
-wchar-t-is
wcharNature
Description
-wchar-t-is
specifies how your
compiler handles the type specifier wcharNature
wchar_t
.
Possible values for
are :wcharNature
keyword
— Use this value if your compiler supportswchar_t
as an independent type.typedef
— Use this value if your compiler supportswchar_t
as a predefinedtypedef
. That is, the compiler does not treatwchar_t
as an independent type but recognizes the specifier and interprets it as atypedef
of another independent type.defined-by-compiler
— use this value if your compiler does not recognize the specifierwchar_t
. In this case, the specifierwchar_t
must be defined before you can use it, usually in a system header. Examples of system headers that definewchar_t
in atypedef
statement include<stddef.h>
in C and<cstddef>
in C++.
For example, if your compiler recognizes wchar_t
as a
typedef
of unsigned short
, specify this option in
your Polyspace® analysis:
-wchar-t-is typedef
If you run verification from the user interface (desktop products only), specify the
option in the configuration settings in the Other field. See Other
.