C1006: Illegal storage class

[WARNING]

Description

A declaration contains an illegal storage class. This message is used for storage classes which makes no sense and are ignored (e.g. using 'register' for a global variable.

Example
  register int i; //'register' for global variables

  
Tips

Apply a correct combination of storage classes.