Path: utzoo!attcan!uunet!mcsun!ukc!warwick!csrbq From: csrbq@warwick.ac.uk (Mark Rafter) Newsgroups: comp.lang.c++ Subject: bug in cfront 2.0 and 2.1 Message-ID: <1990Jul27.181922.16840@warwick.ac.uk> Date: 27 Jul 90 18:19:22 GMT Sender: news@warwick.ac.uk (Network news) Organization: Warwick University, UK Lines: 12 // bug in cfront 2.0 and 2.1 // access to protected and private constructors // is not enforced in array declarations class X { protected: X(); }; // also goes wrong using private main() { X a[10]; // should be illegal but isn't -- ERROR X *p = new X[10]; // illegal -- good X x; // illegal -- good }