Menu

Unable to find the macro "DISABLE_WARNING"

Krishna
2021-04-29
2021-04-30
  • Krishna

    Krishna - 2021-04-29

    Hi,

    I'm able to build my code successfully. But the cppcheck is showing following error.

    DISABLE_WARNING(MISRA_10_1)<--- There is an unknown macro here somewhere. Configuration is required. If DISABLE_WARNING is a macro then please configure it.

    I know how to supress this. But I want to know compiler able to get it and cppcheck not.

     
  • Daniel Marjamäki

    So how is that macro defined?

     
  • Krishna

    Krishna - 2021-04-30

    That macro defined in one of the included header file.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.