Microsoft KB Archive/30454

C 5.10 Does Not Warn About Duplicate const Qualifiers ID Number: Q30454

5.10 MS-DOS buglist5.10 fixlist6.00

Summary:

The compiler fails to generate an error message when more than one const statement is used in a declaration.

For example, the following will not generate an error message:

const const j = 1;

Microsoft has confirmed this to be a problem in C version 5.10. This problem was corrected in C version 6.00.