Skip to content

Possible false positive for MISRA12_8.3 #85

@kylejacksonb

Description

@kylejacksonb

I’m getting this violation in MISRCRA C 2012:

expander_control.h 171 Expander_VerifyRegisterBit Declaration or definition is not compatible with another declaration or definition in file expander_control.c at 432:6

Here’s the code at those two locations:

bool Expander_VerifyRegisterBit(EXPAND_GPIO_t reg, uint8_t bitNumber, bool bit_compare_state)
bool Expander_VerifyRegisterBit(EXPAND_GPIO_t reg, uint8_t bitNumber, bool bit_compare_state);

The defintion of EXPAND_GPIO_t is coming from the same included file for both locations.

Looks the same to me. Any thoughts on what this could be?

Metadata

Metadata

Assignees

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions