Skip to content

DISABLE_WARNING_SELF_MOVE not working for gcc #689

Closed

Description

@limdor

Description

The DISABLE_WARNING_SELF_MOVE has only an effect with clang

#define DISABLE_WARNING_SELF_MOVE DISABLE_WARNING(-Wself-move)

But this warning also exists in gcc. The macro should disable the warning also in GCC.

Analysis results

No response

Solution

No response

Error Occurrence Rate

None

How to reproduce

No response

Supporting Information

No response

Classification

Minor

First Affected Release

not released (main)

Last Affected Release

not released (main)

Expected Fixed Release

before release (main)

Category

  • Safety Relevant
  • Security Relevant

Activity

  1. added theissue type on Oct 14, 2026
  2. limdor commented on Oct 15, 2026

    @limdor
    ContributorAuthor

    I did a bit of investigation and it was probably like that because -Wself-move was added to GCC 13 and before 13 was not existing. I will prepare a PR.

  3. moved this from In Progress to Done in BAS - Baselibs FTon Oct 15, 2026
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

    No labels
    No labels

    Type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions