Uploaded image for project: 'Swift'
  1. Swift
  2. SR-8975

libdispatch fails to compile on linux

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Done
    • Component/s: libdispatch
    • Labels:
      None

      Description

      https://ci.swift.org/view/all/job/oss-lldb-incremental-linux-ubuntu-16_04/5548/consoleFull#-1246752616373bf607-d277-47c6-812e-27acc852624c

      {{/home/buildnode/jenkins/workspace/oss-lldb-incremental-linux-ubuntu-16_04/swift-corelibs-libdispatch/src/swift/Block.swift:43:73: error: cannot convert value of type 'UInt32' to expected argument type 'UInt'
      17:25:49 _block = dispatch_block_create_with_qos_class(dispatch_block_flags_t(UInt32(flags.rawValue)),
      17:25:49 ^~~~~~~~~~~~~~~~~~~~~~
      17:25:49
      17:25:49 /home/buildnode/jenkins/workspace/oss-lldb-incremental-linux-ubuntu-16_04/swift-corelibs-libdispatch/src/swift/Block.swift:50:73: error: cannot convert value of type 'UInt32' to expected argument type 'UInt'
      17:25:49 _block = _swift_dispatch_block_create_noescape(dispatch_block_flags_t(UInt32(flags.rawValue)), noescapeBlock)
      17:25:49 ^~~~~~~~~~~~~~~~~~~~~~

      }}

        Attachments

          Activity

            People

            Assignee:
            compnerd Saleem Abdulrasool
            Reporter:
            eeckstein Erik Eckstein
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: