From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Koning To: egcs@cygnus.com Subject: "xxx is a private member" message Date: Wed, 29 Oct 1997 11:56:00 -0000 Message-id: <9710291956.AA16543@kona.> X-SW-Source: 1997-10/msg01233.html egcs gives the following message: foo.cc: In method `void foo::bar()': foo.cc:12: member `i' is a private member of class `foo' foo.cc:13: confused by earlier errors, bailing out while gcc 2.7.2.1 doesn't complain, for the following program: class foo { int i; public: void bar(void); }; void foo::bar(void) { struct { int j[i]; } k; k.j[1] = 0; } Is that due to a C++ standard change or is something else going on? paul