MISRA Discussion Forums

Full Version: Rule 2-10-6
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Shouldn't example one be compliant?

typedef struct vector {...} vector;

The two vector identifiers are both referring to the same type.
You are correct, the first example should be compliant.

This will be corrected in a future edition or Technical Corrigendum