Uploaded image for project: 'PLCrashReporter'
  1. PLCrashReporter
  2. PLCR-546

PLCrashReporter fails to compile with ToT Clang (r209313)

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 1.2
    • Fix Version/s: 1.2, 1.3
    • Component/s: Build System
    • Labels:
      None

      Description

      The project does not compile cleanly with newer versions of Clang. It appears that Clang has tightened up its checking that C++ templates have C++ linkage:

      In file included from /Users/joe/src/plcrashreporter/Source/PLCrashSignalHandler.mm:32:
      In file included from /Users/joe/src/plcrashreporter/Source/PLCrashFrameWalker.h:46:
      In file included from /Users/joe/src/plcrashreporter/Source/PLCrashAsyncImageList.h:48:
      /Users/joe/src/plcrashreporter/Source/PLCrashAsyncLinkedList.hpp:53:1: error: templates must have C++ linkage
      template <typename V>
      ^~~~~~~~~~~~~~~~~~~~~

      From there, the remaining errors seem to be cascades from that.

        Activity

        Hide
        Landon Fuller added a comment -

        Merged to master and release/plcrashreporter-1.2

        Show
        Landon Fuller added a comment - Merged to master and release/plcrashreporter-1.2

          People

          • Assignee:
            Joe Ranieri [X] (Inactive)
            Reporter:
            Joe Ranieri [X] (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: