Skip to content

error C3611: 'System::Numerics::INumberBase::System::IUtf8SpanFormattable.Try Format': a sealed function cannot have a pure-specifier #94998

Closed

Description

@mayadav1

Description

I am getting error while building main and release/8.0-staging branch of runtime.
error C3611: 'System::Numerics::INumberBase::System::IUtf8SpanFormattable.Try Format': a sealed function cannot have a pure-specifier

Can somebody help me finding a solution for that.

Reproduction Steps

  1. git clone https://github.com/dotnet/runtime.git -b release/8.0-staging
  2. .\build.cmd clr+libs -c release -a x64

Expected behavior

It should be compiled.

Actual behavior

error C3611: 'System::Numerics::INumberBase::System::IUtf8SpanFormattable.Try Format': a sealed function cannot have a pure-specifier

Regression?

No response

Known Workarounds

No response

Configuration

No response

Other information

No response

Activity

  1. ghost added
    needs-area-label
    on Nov 20, 2023
  2. ghost added
    untriaged
    on Nov 20, 2023
  3. removed
    needs-area-label
    on Nov 20, 2023
  4. tannergooding commented on Nov 20, 2023

    @tannergooding
    Member

    Do we need to update the minimum VS version required to build the repo in

    Probably. Notably, it's not kept up to date as is. New versions of Roslyn only work "correctly" with the latest IDE and so we've already "required" VS 17.8 to work with parts of the codebase for months, but the doc still says 17.3

    I'll submit a PR updating that and the C++/CLI tools version

  5. ghost added
    in-pr
    on Nov 20, 2023
  6. tannergooding commented on Nov 20, 2023

    @tannergooding
    Member

    I've put up #95018.

    The issue is the same as described in #94723. C++/CLI required a fix to work with a previously unused aspect of Default Interface Members (DIMs). This fix only exists in v14.38 or higher and so VS2022 17.8 or later is required to build those projects currently.

  7. ghost removed
    in-pr
    on Nov 20, 2023
  8. ghost removed
    untriaged
    on Nov 20, 2023
  9. rzikm commented on Dec 1, 2023

    @rzikm
    Member

    Can we also update the .vsconfig file? or is that unnecessary?

  10. locked and limited conversation to collaborators on Jan 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions