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.

C/C++ Indexer Markers on #warn

Just noted that CCS presents an indexer marker as well as a warning marker in the marker bar of the C/C++ editor when using the #warn preprocessor directive, even though the TI compiler allows #warn.

(Same is presented for #warning, which is not supported by default)

Is it possible to prevent this and just have the warning marker show?

I'm aware I can disable indexer markers all together, but then valid markers won't show either!

  • I don't think it is an indexer issue.  When I add a warn directive I see the indicator in the editor.  However I also see it in the problems view.  When I look at the console I can see that the compiler does spit it out as a warning.  Thus it is not an indexer thing.  

    Plus if I add a second one and save I don't see the indicator.  It just shows up after build.

    What you can do is treat that particular warning as a remark and then it will disappear.

    Now when I build it is not there.  Note that it should be 36 and not 36-D.  The capture was wrong.

    Regards,

    John

  • Maybe this is a CCSv5 vs CCSv6 thing.  I am running CCSv6 and it may be possible that we have the indexer disabled.  I will give v5 a try.

  • Yes that is it.  In v5.5 I see both.  I believe we disabled the indexer in v6 as there are a lot of TI specific directives that confuse the indexer.  I will confirm and reply.

  • Hi John,

    Yes Im still running v5 on my main dev machine ATM. Checking it on a machine with v6 I see only a quick-fix warning.

    :)

    Thanks!