Menu

file paths in cppcheck output: de-escape double backslashes in #line file paths

Jannick
2019-12-25
2019-12-28
  • Jannick

    Jannick - 2019-12-25

    cppcheck 1.90 on Windows10:

    cppcheck seems to pick up the file path from a #line directive as is if given. On Windows, backslashes in the original file path are escaped (double backslash) in #line directives (as required by the cpp standard I believe).

    Would it be possible to revert the backslash escape of those file paths in the cppcheck output (maybe for Windows only)?

    Or am I missing some config here?

    Many thanks.

     

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.