This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Missing C++ warning ?
- To: egcs at cygnus dot com
- Subject: Missing C++ warning ?
- From: Marc Espie <Marc dot Espie at liafa dot jussieu dot fr>
- Date: Tue, 8 Dec 1998 19:03:45 +0100
Consider the following construction:
struct A
{
int i;
int j;
A();
};
A::A(): i(j), j(5) {}
Shouldn't this issue a warning under -Wuninitialized -Wall ?
--
Marc Espie
|anime, sf, juggling, unicycle, acrobatics, comics...
|AmigaOS, OpenBSD, C++, perl, Icon, PostScript...
| `real programmers don't die, they just get out of beta'