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

Subprocess should not fail for unrecognized targets

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.0
    • Fix Version/s: 6.2
    • Component/s: None
    • Labels:
      None

      Description

      We get target from compiler probe, in case of mingw gcc target is mingw32 which is invalid as it is expected to have 3 components, leading to failure.
      mingw32 can be mapped to i686-w64-mingw32, unknown targets can be mapped to generic x86_64-unknown-unknown target with a log of a warning.

        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: