Hi all,
The following is not producing an error under VC++ 2005 Express.
Under Dev-C++, I get what I'm expecting. A compile-time error about the fact I'm trying to create an unitialized array of const integers.Code:const int *p = new const int[10]; // ();
Do you know what compiler option(s) should I set under VC++ 2005 in order for it to correctly flag this as an error?