Skip to content

suppress-remarks option does not work #72924

@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

Activity

added
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.
triage neededThis issue needs more specific labels
on Apr 9, 2024
hborla

hborla commented on Jul 14, 2024

@hborla
Member

These diagnostics were moved to warnings in #69417

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

      Participants

      @Frizlab@hborla

      Issue actions

        suppress-remarks option does not work · Issue #72924 · swiftlang/swift