最終更新: 2018/08/06 16:16:10
#5 new defect
[dynamic, optional] 指定のある呼び口配列が、あるセルで未結合 (要素数が0) の場合、tXXX_tecsgen.cでコンパイルエラー
| 報告者: | admin | 担当者: | |
|---|---|---|---|
| 優先度: | major | マイルストーン: | V1.5 |
| コンポーネント: | 0 未整理 | バージョン: | V1.4.0 |
| キーワード: | 関係者: |
詳細
[active]
celltype tCelltype
{
[dynamic, optional] call sSignature cCallport[];
// 変数・属性の有無が影響しているかは不明ですが、関連している可能性もある為
attr { uint8_t blah1 = 0; };
var { [size_is(blah1)] uint8_t *blah2; };
};
cell tCelltype Cell {
};
生成される tCelltype_tecsgen.c の以下の行でコンパイルエラーが発生します。
// 略
/* cell INIB #_INIB_# */
tCelltype_INIB tCelltype_INIB_tab[] = {
/* cell: tCelltype_CB_tab[0]: Cell id=1 */
{
/* call port (INIB) #_CP_# */
Cell_cCallport, /* #_CCP7B_# */ // ←- `Cell_cCallport` が未定義な為、この行でエラーが発生
0, /* length of cElement (n_cCallport) #_CCP6_# */
/* entry port #_EP_# */
/* attribute(RO) */
// 略
※ 詳しい使い方は TracTickets を参照してください。
![(please configure the [header_logo] section in trac.ini)](/python/trac/mypz/chrome/common/trac_logo_mini.png)