Standard Types Settings Dialog Box

The Standard Types Settings dialog box (Standard Types Settings Dialog Box) enables you to define the size you want to associate to each ANSI-C standard type. You can also use the -T: Flexible Type Management compiler option to configure ANSI-C standard type sizes.

Note: Not all formats may be available for a target. In addition, there has to be at least one type for each size. For example, it is incorrect to specify all types to a size of 32 bits. There is no type for 8 bits and 16 bits available for the Compiler.

The following rules apply when you modify the size associated with an ANSI-C standard type:

Listing: Size relationships for the ANSI-C standard types
sizeof(char) <= sizeof(short) 
sizeof(short) <= sizeof(int) 
sizeof(int)   <= sizeof(long) 
sizeof(long)  <= sizeof(long long) 
sizeof(float) <= sizeof(double) 
sizeof(double)<= sizeof(long double) 

Enumerations must be smaller than or equal to int.

The signed check box enables you to specify whether the char type must be considered as signed or unsigned for your application.

The Default button resets the size of the ANSI C standard types to their default values. The ANSI C standard type default values depend on the target processor.

Figure 1. Standard Types Settings Dialog Box
Standard Types Settings Dialog Box