
TM V.3.20A Release note
Rev.2.00 Februray. 20, 2006 page 14 of 21
REJ10J0019-0200
2. Description
If a source file in a project contains an enum-type variable declared using typedef, the inspector is abnormally shut
down as soon as it is invoked.
3.
Conditions
This problem occurs if the following conditions are all satisfied:
(1) This problem occurs if the following conditions are all satisfied:
(2) The type name defined in (1) is re-defined as another using typedef.
(3) Another variable is defined using the type name re-defined in (2).
Example:
----------------------------------------------------------------------
typedef enum _NUMBER{ NUM_0,NUM_1,NUM_2} NUMBER; /* Condition (1) */
typedef NUMBER NUM; /* Condition (2) */
NUM number; /* Condition (3) */
----------------------------------------------------------------------
4.
Workaround
This problem can be circumvented either of the following ways:
(Example 1) Don't use the type name of an enumeration type defined using typedef.
------------------------------------------------------------------
typedef enum _NUMBER{ NUM_0,NUM_1,NUM_2} NUMBER;
typedef enum _NUMBER NUM; /* Type name of enum type
defined using typedef */
NUM number; /* NUMBER not used */
------------------------------------------------------------------
(Exmaple 2) Don't re-define the type name of an enum-type variable as another using typedef.
------------------------------------------------------------------
typedef enum _NUMBER{ NUM_0,NUM_1,NUM_2} NUMBER;
/* typedef NUMBER NUM; */
/* NUM number; */
NUMBER number;
------------------------------------------------------------------
5.8 RSO-TM-050116D
5.8.1 On changing the directory to which created files are output
1. Versions Concerned
TM V.3.00 through V.3.20A
2.
Description
If a source file is deleted or added after changing the output directory, information on the source file may not
correctly be updated in the project concerned. This problem occurs as follows:
(1) Select the OUTDIR macro from the Macro name list in the Macro Browser dialog box and click the Edit button.
The Add Macros dialog box will open. Then make a change to the content of the Value text box in this dialog box.
(2) Next, delete a source file entered in the project. The information on this source file seems to be deleted correctly
from the project at least on the display of the Project Editor dialog box, but actually it remains in the project.
(3) Or, if another source file that exists in a different directory from the one where the deleted source file resided
and that has the same name as the deleted file is added to the project, the OUTDIR information on the added file
will inherit the same one as before a change is made to the content of the Value text box, though the other items of
Comentarios a estos manuales