Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-12508

Clang scan-build does not work with XCode 4.2

XMLWordPrintable

      When I run the plugin I get the following error:

      Details: Unable to get message category info for tool '/Applications/checker-258/libexec/ccc-analyzer'.
      Reason: i686-apple-darwin11-llvm-gcc-4.2: no input files

      Object: <XCCompilerSpecificationClang: 0x400e65a60>
      Method: -messageCategoryInfoForExecutablePath:
      Thread: <NSThread: 0x400f88b00>

      {name = (null), num = 6}

      Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
      cc1obj: error: unrecognized command line option "-Wno-sign-conversion"
      cc1obj: error: unrecognized command line option "-fdiagnostics-print-source-range-info"
      cc1obj: error: unrecognized command line option "-fdiagnostics-show-category=id"
      cc1obj: error: unrecognized command line option "-fdiagnostics-parseable-fixits"
      cc1obj: error: unrecognized command line option "-fobjc-arc"
      Command /Applications/checker-258/libexec/ccc-analyzer failed with exit code 1

      This can be fixed by a work around described here but this is not ideal:

      http://stackoverflow.com/questions/7820011/clang-scan-build-wont-work-with-xcode-4-2-llvm-3-0-build-configuration

            mandyww mandy warren
            mandyww mandy warren
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: