-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 wcharNaturewchar_t.
Possible values for are :wcharNature
keyword— Use this value if your compiler supportswchar_tas an independent type.typedef— Use this value if your compiler supportswchar_tas a predefinedtypedef. That is, the compiler does not treatwchar_tas an independent type but recognizes the specifier and interprets it as atypedefof another independent type.defined-by-compiler— use this value if your compiler does not recognize the specifierwchar_t. In this case, the specifierwchar_tmust be defined before you can use it, usually in a system header. Examples of system headers that definewchar_tin atypedefstatement 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.