971127 array initialization problem!?!

Alexandre Oliva oliva@dcc.unicamp.br
Sun Nov 30 14:29:00 GMT 1997


  writes:

> 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?)

C++ has never allowed initialization of dynamically constructed arrays
with non-default constructors.  The error message is misleading.

-- 
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil



More information about the Gcc mailing list