Skip to content

IORing.swift:1:1: error: new Swift parser generated errors for code that C++ parser accepted #265

@weissi

Description

@weissi

When compiling on Swift version 5.10.1 (swift-5.10.1-RELEASE) on Ubuntu Noble (24.04) I get

/__w/my-project/my-project/.build/checkouts/swift-system/Sources/System/IORing/IORing.swift:465:5: error: extraneous code at top level
    ) throws(Err) {
    ^~~~~~~~~~~~~~~
/__w/my-project/my-project/.build/checkouts/swift-system/Sources/System/IORing/IORing.swift:1:1: error: new Swift parser generated errors for code that C++ parser accepted
#if compiler(>=6.2) && $Lifetimes
^

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions