[sv-bc] 8.13.2 Structure assignment patterns - example

From: Bresticker, Shalom <shalom.bresticker_at_.....>
Date: Mon Dec 05 2005 - 07:43:39 PST
The following example in 8.13.2,

initial #10 s1 = '{default:'1, s : ""}; // set all to 1 except s to ""

should be preceded, I think, by a declaration,

sa s1;

Otherwise, s1 is undeclared, or worse, it reverts to the previous declaration of s1:

typedef struct {
int x;
int y;
} st;
st s1;


Shalom


Shalom Bresticker
Intel Jerusalem LAD DA
+972 2 589-6852
+972 54 721-1033
I don't represent Intel 
Received on Mon Dec 5 07:43:55 2005

This archive was generated by hypermail 2.1.8 : Mon Dec 05 2005 - 07:44:02 PST