Compiler Error C2468

'new' : cannot allocate 'const'/'volatile' objects (type is 'type')

The new operator was used to create an object of the specified type that was declared as const or volatile.

The following is an example of this error:

void main(void)
{
   new int * const;       // error
   new int * volatile;    // error
}