General

Contents: Compiler-Dependent Configuration File Parameters

This section lists the parameters that can be set through a CodeSonar compiler template or project-compiler configuration file.



Parameters, by Subject

Other Parameters
  CS_TARG_ALIGNOF_DOUBLE Specifies the alignment of a double, in bytes.
  CS_TARG_ALIGNOF_FLOAT Specifies the alignment of a float, in bytes.
  CS_TARG_ALIGNOF_INT Specifies the alignment of an int, in bytes.
  CS_TARG_ALIGNOF_LONG Specifies the alignment of a long int, in bytes.
  CS_TARG_ALIGNOF_LONG_DOUBLE Specifies the alignment of a long double, in bytes.
  CS_TARG_ALIGNOF_LONG_LONG Specifies the alignment of a long long int, in bytes.
  CS_TARG_ALIGNOF_POINTER Specifies the alignment of a pointer, in bytes.
  CS_TARG_ALIGNOF_PTR_TO_DATA_MEMBER Specifies the alignment of a C++ pointer-to-data-member, in bytes.
  CS_TARG_ALIGNOF_PTR_TO_MEMBER_FUNCTION Specifies the alignment of a C++ pointer-to-member-function, in bytes.
  CS_TARG_ALIGNOF_PTR_TO_VIRTUAL_BASE_CLASS Specifies the alignment of a C++ pointer-to-virtual-base-class, in bytes.
  CS_TARG_ALIGNOF_SHORT Specifies the alignment of a short int, in bytes.
  CS_TARG_ALIGNOF_VIRTUAL_FUNCTION_INFO Specifies the alignment of a virtual-function-info entity, in bytes.
  CS_TARG_BIT_FIELD_CONTAINER_SIZE Specifies the container size to be used for bit-fields.
  CS_TARG_BOOL_INT_KIND Specifies the integer kind associated with bool.
  CS_TARG_CHAR16_T_INT_KIND Specifies the integer kind associated with char16_t.
  CS_TARG_CHAR32_T_INT_KIND Specifies the integer kind associated with char32_t.
  CS_TARG_CHAR_BIT Specifies the size of a char, in bits.
  CS_TARG_DOUBLE_FIELD_ALIGNMENT Specifies the default alignment for fields of type double. This could be different from the intrinsic alignment of double.
  CS_TARG_ENUM_BIT_FIELDS_ARE_ALWAYS_UNSIGNED Specifies signedness for enum bit fields (an extension in C).
  CS_TARG_ENUM_TYPES_CAN_BE_LARGER_THAN_INT Specifies whether or not enum types can be allocated in integral types larger than int.
  CS_TARG_ENUM_TYPES_CAN_BE_SMALLER_THAN_INT Specifies whether or not enum types can be allocated in integral types smaller than int.
  CS_TARG_FLOAT_FIELD_ALIGNMENT Specifies the default alignment for fields of type float. This could be different from the intrinsic alignment of float.
  CS_TARG_FORCE_ONE_BIT_BIT_FIELD_TO_BE_UNSIGNED Specifies how to treat a 'plain' int bit field of length 1.
  CS_TARG_INTMAX_KIND Specifies the integer kind associated with the largest signed integer type. In C99, this is intmax_t.
  CS_TARG_INT_FIELD_ALIGNMENT Specifies the default alignment for fields of type int. This could be different from the intrinsic alignment of int.
  CS_TARG_LONG_DOUBLE_FIELD_ALIGNMENT Specifies the default alignment for fields of type long double. This could be different from the intrinsic alignment of long double.
  CS_TARG_LONG_FIELD_ALIGNMENT Specifies the default alignment for fields of type long. This could be different from the intrinsic alignment of long.
  CS_TARG_LONG_LONG_FIELD_ALIGNMENT Specifies the default alignment for fields of type long long. This could be different from the intrinsic alignment of long long.
  CS_TARG_MAXIMUM_INTRINSIC_ALIGNMENT The maximum value permitted for an alignment.
  CS_TARG_MAXIMUM_PACK_ALIGNMENT Specifies the maximum value permitted for a 'pack alignment'.
  CS_TARG_MICROSOFT_BIT_FIELD_ALLOCATION Specifies whether or not bit-field allocation follows the conventions of Microsoft C/C++.
  CS_TARG_MINIMUM_PACK_ALIGNMENT Specifies the minimum value permitted for a 'pack alignment'.
  CS_TARG_MINIMUM_STRUCT_ALIGNMENT Specifies the minimum alignment (in bytes) for objects of class, struct, and union type.
  CS_TARG_NONNEGATIVE_ENUM_BIT_FIELD_IS_UNSIGNED Specifies signedness for enum bit fields whose enum types have enumerators that could all fit in the nonnegative range of the bit field if it were signed.
  CS_TARG_PAD_BIT_FIELDS_LARGER_THAN_BASE_TYPE Specifies whether or not fields longer than their base types are padded out to the full declared length.
  CS_TARG_PLAIN_INT_BIT_FIELD_IS_UNSIGNED Specifies whether or not a 'plain' int bit field is to be treated as unsigned.
  CS_TARG_PTRDIFF_T_INT_KIND Specifies the representation for ptrdiff_t: the result type of the pointer subtraction operator.
  CS_TARG_RIGHT_SHIFT_IS_ARITHMETIC Specifies whether or not a right shift on a signed quantity does sign extension.
  CS_TARG_SHORT_FIELD_ALIGNMENT Specifies the default alignment for fields of type short. This could be different from the intrinsic alignment of short.
  CS_TARG_SIZEOF_CHAR16_T Specifies the size of a char16_t entity, in bytes.
  CS_TARG_SIZEOF_CHAR32_T Specifies the size of a char32_t entity, in bytes.
  CS_TARG_SIZEOF_DOUBLE Specifies the size of a double, in bytes.
  CS_TARG_SIZEOF_FLOAT Specifies the size of a float, in bytes.
  CS_TARG_SIZEOF_INT Specifies the size of an int, in bytes.
  CS_TARG_SIZEOF_LONG Specifies the size of a long int, in bytes.
  CS_TARG_SIZEOF_LONG_DOUBLE Specifies the size of a long double, in bytes.
  CS_TARG_SIZEOF_LONG_LONG Specifies the size of a long long int, in bytes.
  CS_TARG_SIZEOF_POINTER Specifies the size of a pointer, in bytes.
  CS_TARG_SIZEOF_PTR_TO_DATA_MEMBER Specifies the size of a C++ pointer-to-data-member, in bytes.
  CS_TARG_SIZEOF_PTR_TO_MEMBER_FUNCTION Specifies the size of a C++ pointer-to-member-function, in bytes.
  CS_TARG_SIZEOF_PTR_TO_VIRTUAL_BASE_CLASS Specifies the size of a C++ pointer-to-virtual-base-class, in bytes.
  CS_TARG_SIZEOF_SHORT Specifies the size of a short int, in bytes.
  CS_TARG_SIZEOF_VIRTUAL_FUNCTION_INFO Specifies the size of a pointer to a C++ virtual function table, in bytes.
  CS_TARG_SIZEOF_WCHAR_T Specifies the size of a wchar_t entity, in bytes.
  CS_TARG_SIZE_T_INT_KIND Specifies the representation for size_t: the result type of the sizeof() function.
  CS_TARG_SIZE_T_MAX Specifies the limit of the representation of size_t constants; the range it defines can be equal to or smaller than the integer size implied by size_t_int_kind.
  CS_TARG_TOO_LARGE_SHIFT_COUNT_IS_TAKEN_MODULO_SIZE Specifies whether or not a shift with a too-large shift count is treated as if the shift count is reduced modulo the bit size of the object.
  CS_TARG_UINTMAX_KIND Specifies the integer kind associated with the largest unsigned integer type. In C99, this is uintmax_t.
  CS_TARG_UNNAMED_BIT_FIELD_AFFECTS_STRUCT_ALIGNMENT Specifies whether or not the alignment adjustment when an unnamed bit-field is declared affects the overall alignment of the struct as well as the alignment of the next field.
  CS_TARG_USER_CONTROL_OF_STRUCT_PACKING_AFFECTS_BIT_FIELDS Specifies whether or not '#pragma pack(n)' and the command-line option '--pack_alignment=n' affect the alignment of bit field containers (when bit fields straddle container alignment boundaries).
  CS_TARG_VTABLE_ENTRY_INT_KIND Integer kind used for the size of a vtable entry in the IA-64 ABI.
  CS_TARG_WCHAR_T_INT_KIND Specifies the integer kind associated with wchar_t.
  CS_TARG_WINT_T_INT_KIND Specifies the integer kind associated with wint_t.
  CS_TARG_ZERO_WIDTH_BIT_FIELD_AFFECTS_STRUCT_ALIGNMENT Specifies whether or not the alignment adjustment when a zero-width (unnamed) bit-field is declared affects the overall alignment of the struct as well as the alignment of the next field.
  CS_TARG_ZERO_WIDTH_BIT_FIELD_ALIGNMENT Specifies the alignment adjustment to be made when a zero-width (unnamed) bit field is declared.
  SIGNED_CHARS Specifies whether or not the char type is signed on the target platform.