Knowledge Base

  1. After some of the error messages in your manual, you have numbers in square brackets. What do they mean?

  2. Can lint recursively scan sub directories for the source code? For example, I want to use: lint Z:\*.* and have it then recurs down our directory structure and parse all our source files?

  3. Can you tell me which of my #include files are not used?

  4. Do you support any of the checks from Scott Meyers' books?

  5. Help - I'm getting too many messages.

  6. Help - you don't have a compiler options file for my compiler.

  7. How can I extend the properties of assert() to another function?

  8. How can I get PC-lint to support inline-assembly for the DIAB DATA C++ compiler?

  9. How can I suppress a message for a single file? -efile does not work.

  10. How can I tell lint to ignore my embedded SQL code?

  11. How can I torture test my code to achieve maximum reporting?

  12. How do I get lint set up to recognize that new can return a NULL if it fails to allocate the class?

  13. How do I get patches for PC-lint? for FlexeLint?

  14. How do I order an update?

  15. How do I run PC-lint from inside Microsoft Visual Studio?

  16. How do I suppress a message for a specific symbol? function? macro?

  17. How do I tell lint not to complain about my compiler headers?

  18. How do I tell lint where to find my compiler headers?

  19. I check for strict ANSI compliance for my C programs by using the -A option, but I don't want complaints about my C++ style comments beginning with //

  20. I have deeply nested includes and I'm getting message 322 (Unable to open include file) even through my paths are set correctly.

  21. I want to check for strict ANSI portability. Is there anything I should do in addition to the -A option?

  22. I want to inhibit all messages emanating from one of my files, but the -efile option is not working.

  23. I want to port from 32-bit to 64-bit code.

  24. I want to suppress an error, such as 715, for C files, but not for C++ files.

  25. I'm trying to suppress wrapup message 754 (Local Structure Member Not Referenced) with an in-line lint comment, and it's not working.

  26. I'm using PC-lint with VC++ Version 6.0. My lint messages start out formatted correctly, then suddenly they are formatted incorrectly.

  27. Is there a trial/evaluation version of PC-lint/FlexeLint?

  28. It's nice to have a pdf manual, but am I allowed to print it? Can I get the manual in book form?

  29. Lint complains about my in-line assembly

  30. MISRA checking without an analysis of library headers

  31. My compiler in-line assembly begins with "#pragma asm" and ends with "#pragma endasm:. Can lint handle this?

  32. My lint error suppression is not working.

  33. PC-lint (running under Windows or DOS) is giving me strange errors on code transported from UNIX. It doesn't seem to properly handle the Unix "end of line" characters?

  34. Redeclaration errors with Mixed C and C++ code

  35. The compiler that I use has "__asm__" as the in-line assembly keyword. Is there a way to tell lint to totally skip any code beginning with that and ending with a semi-colon besides using an "#ifndef _lint"?

  36. What is a library header?

  37. What version of lint am I running?

  38. Will lint work with my cross-compiler?

Feedback and Knowledge Base