From mboxrd@z Thu Jan 1 00:00:00 1970 From: To: egcs@cygnus.com Subject: 971127 array initialization problem!?! Date: Sun, 30 Nov 1997 07:17:00 -0000 Message-id: X-SW-Source: 1997-11/msg00975.html This trivial test program seems to show a serious problem with array initialization in g++ egcs-971127 (or has something changed in recent c++ that I'm not aware of?) struct QBitmap { QBitmap (int,int, bool=false); }; main () { QBitmap* x = new QBitmap(2,2); QBitmap* y = new QBitmap[5](2,2); } g++ -c Test.c Test.c: In function `int main()': Test.c:9: no matching function for call to `QBitmap::QBitmap (int)' Test.c:5: candidates are: QBitmap::QBitmap(const QBitmap &) Test.c:4: QBitmap::QBitmap(int, int, bool)