Uploaded image for project: 'SonarCFamily'
  1. SonarCFamily
  2. CPP-2300

MSVC Driver: Should not crash in case of invalid path in INCLUDE environment variable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.5
    • Component/s: Compiler Driver
    • Labels:
      None

      Description

      From a test, given the following INCLUDE environment variable:

      INCLUDE=folder1;folder2; folder3
      

      folder3 is silently ignored. Currently our analyzer crashes which is not a nice behaviour, we should either:

      • silently ignore it like cl.exe
      • ignore it and log a warning for the user to tell him about the useless entry in the INCLUDE environment variable

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                massimo.paladin Massimo PALADIN
                Reporter:
                massimo.paladin Massimo PALADIN
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: