missing initor not detected
David C Binderman
dcb@pncl.co.uk
Tue Mar 3 10:36:00 GMT 1998
Hello there,
Given the following code on machine i486-pc-linux-gnulibc1, with
compiler G++ in egcs-980302, I was surprised to find that it compiled ok.
void
f()
{
const int a[ 10]; // note no initialisor
}
Regards
David Binderman MSc BSc +44 1293 534 847 dcb_AVOID_JUNK_MAIL@pncl.co.uk
There is no substitute for skill, taste and experience when programming
- Dr Stroustrup, inventor of C++
More information about the Gcc-bugs
mailing list