PC-lint64 cannot find the definition for uint64_t

Post a reply


This question is a means of preventing automated form submissions by spambots.

BBCode is ON
[img] is OFF
[flash] is OFF
[url] is OFF
Smilies are OFF

Topic review
   

Expand view Topic review: PC-lint64 cannot find the definition for uint64_t

Re: PC-lint64 cannot find the definition for uint64_t

by Michael Metivier » Fri Apr 16, 2021 6:29 pm

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.

PC-lint64 cannot find the definition for uint64_t

by marjonz » Fri Apr 16, 2021 12:22 am

I am using a variable of type

Code: Select all

uint64_t
, 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?

Top