Skip to content

suppress-remarks option does not work #72924

Closed
swiftlang/swift-driver
#1656
@Frizlab

Description

@Frizlab

Description

Running swiftc with the -suppress-remarks option does not suppress remarks.

Reproduction

42sh$ cat toto.swift
@preconcurrency import Foundation
42sh$ swiftc -suppress-remarks toto.swift
toto.swift:1:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import Foundation
~~~~~~~~~~~~~~~~^

Expected behavior

The file should compile with no output.

Environment

swift-driver version: 1.90.11.1 Apple Swift version 5.10 (swiftlang-5.10.0.13 clang-1500.3.9.4)
Target: arm64-apple-macosx14.0

and

Swift version 5.10 (swift-5.10-RELEASE)
Target: aarch64-unknown-linux-gnu

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.triage neededThis issue needs more specific labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions