Compiler Error C2289

same type qualifier used more than once

A type qualifier (const, volatile, signed, or unsigned) was used more than once in the same type declaration or definition.

This is an error when Microsoft extensions are disabled (/Za), and a warning when extensions are enabled (/Ze).

The following is an example of this error:

volatile volatile int i;   // error