This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Compiler: MSP-CGT-19 Lint Config

Tool/software: TI C/C++ Compiler

Hi There,

is there any PC-Lint compiler specific configuration available for:
ti-cgt-arm_20.2.1.LTS

ti-cgt-c2000_20.2.1.LTS

ti-cgt-msp430_20.2.1.LTS

Related to:
 

There seem to be some cinfigs provided by gimple itself:

Kind regards

Clemens Grünberger

  • Clemens Grunberger said:

    is there any PC-Lint compiler specific configuration available for:
    ti-cgt-arm_20.2.1.LTS

    ti-cgt-c2000_20.2.1.LTS

    ti-cgt-msp430_20.2.1.LTS

    Unfortunately, I am not aware of any.

    Thanks and regards,

    -George

  • Hi George,

    got to tell you its somewhat disappointing. 
    Reading the request to do so some years ago, nothing happend since...

    None the less I could find a work-around, for those unlucky having to write their own:

    As Code composTer studio does have some insights about the Built-In Compiler Symbols:
    I could reproduce it at least for 2 of the 3 in question...
    Have Fun typing them down...

    Another Way is using Linticator:

    Which derives PC-Lint Configs from Eclipse CDT Settings...
    There is an option to pass CDT Defines to the LINT Cfg. It will some *.lnt files containing most of the needed config.
    Thus saving the effort of manually typing. 
    One needs to add Compiler Include Paths separat though.

    Another Option is from the PC-Lint Manual
    Configuring with pclp_config.
    I did not try that one, as Linticator was the easy and fast approach. 

    All the best

    Clemens