Skip to content

format_to chrono compilation failure with msvc 14.32 and 14.33(_MSC_VER=1932 and 1933) in C++20 #3224

Description

@Klaim

This issue only appears when using msvc 14.32 and 14.33(_MSC_VER=1932 and 1933) in C++20 and I was not able to set that up in godbolt because only the last vcpkg version is visible. Here is the issue:
https://godbolt.org/z/f5b9hnPv4

Notes:

  • changing to msvc 14.34 or latest will not hit that issue (so workaround: use latest msvc);
  • this looks like a conflict somewhere related to how the standard library is implemented in that case;
  • I can reproduce the issue using clang 15.0.1 locally in which cases it uses the msvc version I have installed, which goes with last point; unfortunately I cannot reproduce this setup using compiler explorer;
  • initially found when packaging for build2 : Release 9.0.0 and 9.1.0 build2-packaging/fmt#4 ;
  • affects at least 9.0.0 and 9.1.0

Activity

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

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions