[sv-bc] question about type assignment compatibility


Subject: [sv-bc] question about type assignment compatibility
From: Francoise Martinolle (fm@cadence.com)
Date: Wed Nov 19 2003 - 07:25:34 PST


With the wording in section 7.15 (issue 14), I interpret that the
following 2 structs assignment are still illegal.

Is that right? I think it should be legal. The wording should be refined to
indicate that aliases of typedef are considered identical types.

typedef struct { int b; } st1;
typedef st1 st2;

st1 sv1;
st2 sv2;

initial
     sv1 = sv2;



This archive was generated by hypermail 2b28 : Wed Nov 19 2003 - 07:26:19 PST