Skip to content

[SR-8975] libdispatch fails to compile on linux #645

Closed
@eeckstein

Description

@eeckstein
Previous ID SR-8975
Radar None
Original Reporter @eeckstein
Type Bug
Status Closed
Resolution Done
Additional Detail from JIRA
Votes 0
Component/s libdispatch
Labels Bug
Assignee @compnerd
Priority Medium

md5: 9dd84633ff2a53d8a40eb8e3a0d71b63

Issue 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 ^~~~~~~~~~~~~~~~~~~~~~

}}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions