-wchar-t-type-is)Specify the underlying data type of wchar_t
Specify the underlying data type of wchar_t explicitly. If you do
not specify this option, your choice of compiler determines the underlying type.
User interface (desktop products only): In your project configuration, the option is on the Target & Compiler node.
Command line and options file: Use the option
-wchar-t-type-is. See Command-Line Information.
The analysis associates a data type with wchar_t when you
specify your compiler. If you use a compiler option that changes this default type,
emulate your compiler option by using this analysis option.
Default:
defined-by-compiler
defined-by-compilerYour specification for Compiler (-compiler) determines
the underlying type of wchar_t.
signed-shortThe analysis considers signed short as the underlying
type of wchar_t.
unsigned-shortThe analysis considers unsigned short as the underlying
type of wchar_t.
signed-intThe analysis considers signed int as the underlying
type of wchar_t.
unsigned-intThe analysis considers unsigned int as the underlying
type of wchar_t.
signed-longThe analysis considers signed long as the underlying
type of wchar_t.
unsigned-longThe analysis considers unsigned long as the underlying
type of wchar_t.
Parameter:
-wchar-t-type-is |
Value: defined-by-compiler |
signed-short | unsigned-short | signed-int | unsigned-int | signed-long |
unsigned-long |
Default:
defined-by-compiler |
Example (Bug Finder):
polyspace-bug-finder -wchar-t-type-is signed-int |
Example (Code Prover):
polyspace-code-prover -wchar-t-type-is
signed-int |
Example (Bug Finder Server): polyspace-bug-finder-server -wchar-t-type-is signed-int |
Example (Code Prover Server):
polyspace-code-prover-server -wchar-t-type-is signed-int |