Download CubeSuite+ V1.00.00 Integrated Development Environment User`s

Transcript
CubeSuite+ Ver.1.00.00
10.4
CHAPTER 10 CAUTIONS
Output of Other Than Position-Independent Codes
Basically, the CA850 outputs codes not dependent on positions (position-independent codes). However, it outputs the
following codes in response to the "initialization statement with an initial value other than a numeric value for a pointer
type variable other than an automatic variable".
Example
[Description of C Language]
char
*ptr = "test\n";
[Output codes]
.size
LL20, 6
LL20:
.str
"test\n\0"
.align
4
.globl
_ptr, 4
_ptr:
.word
#LL20
--Absolute address reference of label
When the -Xd option is specified, the CA850 outputs the following warning message and continues compiling if an initialization statement with an initial value other than a numeric value for a pointer type variable other than an automatic
variable appears.
W2231: Initialization of non-auto pointer using non-number initializer is not position independent.
10.5
Count of Derivative Type Qualification for Type Configuration
The CA850 outputs the following error message and continues compiling if derivative type qualificationNote is performed 17 times or more for the type configuration.
E2260: compiler limit: complicated type modifiers [16]
However, compiling may be stopped depending on the number of times the error has occurred.
Note *(pointer), [ ] (array), and function declarator included in a declarator.
10.6
Length of Identifier and Valid Number of Characters
The CA850 outputs the following error message and continues compiling if an external identifier of 1023 characters or
more, or an internal identifier of 1024 characters or more is described.
E2117: compiler limit:too long identifier 'symbol' [1022 / 1023]
However, compiling may be stopped depending on the number of times the error has occurred.
The valid number of characters for an identifier name is 1022 from the beginning of the identifier in the case of an external identifier and 1023 from the beginning in the case of an internal identifier.
R20UT0553EJ0100 Rev.1.00
Apr 01, 2011
Page 921 of 943