Hi all,

The following is not producing an error under VC++ 2005 Express.

Code:
const int *p = new const int[10];  // ();
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.

Do you know what compiler option(s) should I set under VC++ 2005 in order for it to correctly flag this as an error?