 |
|
 |
MESC TOOL NEWS:
MESCT-NC77WA-990616D
NC77WA and NC77
Precautions
|
Please take note of the following problems in using C compilers NC77WA (with assembler and integrated development environment) and NC77 for the 77XX series of microcomputers.
On Accesses to Arguments of Functions
- Products Concerned
NC77WA V.5.00 Release 1--V.5.10 Release 1
NC77 V.5.00 Release 1--V.5.10 Release 1
- Problem
If the first argument of a function not passed anywhere, the second and later ones may not be correctly accessible.
- Conditions
This problem occurs if the following three conditions are satisfied:
(1)A function prototype declaration is made.
(2)The first argument of the function is of type char (signed or unsigned).
(3)This first argument is not passed anywhere.
- Example
[C Source File]
---------------------------------------------------------
| void func(char ch, int i)
| {
| int tmp;
|
| tmp = i;
| }
|
---------------------------------------------------------
- Workaround
This problem will be circumvented by either of the following ways:
(1)Change the type of the first argument to the one other than signed or unsigned char.
(2)Put the first argument of the function to use.
On IEEE-695 File Converter s2ie
- Products Concerned
NC77WA V.3.10 Release 1--V.5.10 Release 1
NC77 V.3.10 Release 1--V.5.10 Release 1
- Problem
When a function including an infinite loop exists in a statement, the execution of s2ie may result in either of the following incorrect terminations:
- (1)In Windows 98/95, Windows NT 4.0
- Error Message displayed.
- (2)In Sun-OS 4.x, Solaris 2.x, and HP-UX 10.x
- A segmentation fault occurs.
- Condition
This problem arises if the following condition is satisfied:
C source files end with a function including an infinite loop.
Note that when any instructions executable or functions are described after the above function including an infinite loop, the problem does not occur.
- Workaround
Describe functions including an infinite loop anywhere except the end of files.
|
 |