pc-lint problem

I am using uVision2 version 2.37 and pc-lint version 8.00o.

I have included the co-kc51.lnt and env-keil.lnt in the setup, as well as the pertinent include file paths.

All I get is PC-Lint running and the header. I have checked to make sure that the env-keil.lnt contains the right info.

I'm at a loss.

If I try to run if from a batch file, it seems to run but can find the ansi standard header files and they are not in the Keil directory

Any ideas would be welcome

Parents
  • This is the project-specific lint file that I use:

    -ic:\lint\lnt
    // Keil C51
    co-kc51.lnt -si4 -sp4
    // Codewright editor
    env-cw6.lnt
    
    // include paths for project
    -ic:\Keil\C51\inc
    // four additional project -i here
    
    -e537			 // repeated include file
    -e655			 // bit-wise op uses compatible enums
    -esym(553,DEBUG) // undefined, assumed 0
    -esym(788,*Num*,*Force16*)  // enum constant not used in switch
    -e834			// operator '-' followed by op '-' is confusing
    

    The ANSI headers are in c:\keil\c51\inc on my machine, which I think is the standard installation. You'll still need to tell lint where to find them, though.

Reply
  • This is the project-specific lint file that I use:

    -ic:\lint\lnt
    // Keil C51
    co-kc51.lnt -si4 -sp4
    // Codewright editor
    env-cw6.lnt
    
    // include paths for project
    -ic:\Keil\C51\inc
    // four additional project -i here
    
    -e537			 // repeated include file
    -e655			 // bit-wise op uses compatible enums
    -esym(553,DEBUG) // undefined, assumed 0
    -esym(788,*Num*,*Force16*)  // enum constant not used in switch
    -e834			// operator '-' followed by op '-' is confusing
    

    The ANSI headers are in c:\keil\c51\inc on my machine, which I think is the standard installation. You'll still need to tell lint where to find them, though.

Children
More questions in this forum
There are no posts to show. This could be because there are no posts in this forum or due to a filter.