PC-lint Plus User Discussion
I am using a variable of type
, but running pc-lint64 on the project reports:
Code: Select all
error 40: undeclared identifier 'uint64_t' [MISRA 2012 Rule 1.3, required]
How can I fix this please?
Your PC-Lint configuration has a path to a header that includes this definition?
Is that definition protected by a preprocessor directive?
If so, have you made PC-Lint aware of this preprocessor directive using the -d option?
Have you checked the "-p" option to have PC-Lint output what it sees during its preprocessing phase?
Does that preprocessing output include a definition for uint64_t? If not you'll need to track down why in your system headers.