thanks yes that would be the solution. If it propagates to the mista checks too, which might not be the case or is dependent on implementation.
Hallo, is there any way to "ignore" specific header files by a path without causing "missingInclude" Error or the "misra-c2012-17.3" implicit function call Error? The problem is that we build embedded software and there is access to the HAL Layer Libraries source code but we want to take it "As Is" and don't want to check this code (because we don't want to change it) with cppcheck or Misra. But even if we don't check the c files explicitly by including the header files we introduce external source...
@danielmarjamaki any ideas?
We have found a strange 8.4 Misra Error which we don't know why it is happening. I created a dummy to reproduce the error. For the variable pubTestPointer2 it works as expected, if i remove the extern const uint8_t * pubTestPointer2; the 8.4 Error occurs pointing to the line in the c file. For the variable with struct as data type pubTestPointer i always get the 8.4 error and it appears twice once in the header file and once in the c file. main.h typedef unsigned char uint8_t; typedef struct stErrorDef...
We have found a strange 8.4 Misra Error which we don't know why it is happening. I created a dummy to reproduce the error. For the variable pubTestPointer2 it works as expected, if i remove the extern const uint8_t * pubTestPointer2; the 8.4 Error occurs pointing to the line in the c file. For the variable with struct as data type pubTestPointer i always get the 8.4 error and it appears twice once in the header file and once in the c file. main.h typedef unsigned char uint8_t; typedef struct stErrorDef...
We have found a strange 8.4 Misra Error which we don't know why it is happening. I created a dummy to reproduce the error. For the variable pubTestPointer2 it works as expected, if i remove the extern const uint8_t * pubTestPointer2; the 8.4 Error occurs pointing to the line in the c file. For the variable with struct as data type pubTestPointer i always get the 8.4 error and it appears twice once in the header file and once in the c file. main.h typedef unsigned char uint8_t; typedef struct stErrorDef...
We have found a strange 8.4 Misra Error which we don't know why it is happening. I created a dummy to reproduce the error. For the variable pubTestPointer2 it works as expected, if i remove the extern const uint8_t * pubTestPointer2; the 8.4 Error occurs pointing to the line in the c file. For the variable with struct as data type pubTestPointer i always get the 8.4 error and it appears twice once in the header file and once in the c file. If i change the pointer to the struct to simply a extern...
We have found a strange 8.4 Misra Error which we don't know why it is happening. I created a dummy to reproduce the error. For the variable pubTestPointer2 it works as expected, if i remove the extern const uint8_t * pubTestPointer2; the 8.4 Error occurs pointing to the line in the c file. For the variable with struct as data type pubTestPointer i always get the 8.4 error and it appears twice once in the header file and once in the c file. If i remove the Pointer Symbol it works again as expected....