Cannot use typedef as array dimension

Bug #644457 reported by Mads Chr. Olesen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
opaal
Confirmed
Wishlist
Unassigned

Bug Description

The following is not possible in opaal:
typedef int[0, 5] id_t;

int myarray[id_t];
chan mychan[id_t];

Tags: bitesize
Revision history for this message
Mads Chr. Olesen (shiyee) wrote :

We are not sure we want to support this syntax; it will need a number of special case handling in various places.
A patch with unit tests might make us re-consider :-)

Changed in opaal:
status: New → Won't Fix
importance: Undecided → Wishlist
status: Won't Fix → Confirmed
tags: added: bitesize
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.