18-07-2014, 03:53 PM
Rule 2.4 states that a project should have no unused tag declarations. However in Rule 5.7, a tag name shall be a unique identifier, there is an exception that allows the tag to be the same as the typedef name. You give this example:
typedef struct coord
{
uint16_t x;
uint16_t y;
} coord; /* Compliant by exception */
Can this also be an exception to 2.4 ?
typedef struct coord
{
uint16_t x;
uint16_t y;
} coord; /* Compliant by exception */
Can this also be an exception to 2.4 ?
<t></t>