English
Language : 

CC78K0S Datasheet, PDF (401/520 Pages) NEC – C Compiler Ver.1.30 or Later Language
CHAPTER 11 EXTENDED FUNCTIONS
Type Modification
-ZL
(2) Change from long type to int type
FUNCTION
• long type is regarded as int type. In other words, a long description becomes equal to an int description.
• Details of the type modification are given as follows.
Table 11-14. Details of Type Modification (Change from long Type to int Type)
Type Described in C Source
unsigned long, unsigned long int
long, long int, signed long, signed long int
Type after Modification
unsigned int
signed int
• Outputs warning message to the line where the long keyword first appeared in C source.
• If the -ZA option is specified at the same time (-ZAL), a warning message is output (only when -W2 is
specified).
• The compiler executes the following macro definition automatically.
#define _ _FROM_LONG_TO_INT_ _ 1
• Some standard libraries cannot be used.
USAGE
• Specify the -ZL option.
RESTRICTIONS
• -ZL specified and -ZL unspecified modules cannot be linked together.
User’s Manual U14872EJ1V0UM
401