Skip to content

Windows dav1d build fails with recent versions of MSVC #10554

Closed

Description

@mhsmith

What did you do?

Ran a Windows build in CI:

What did you expect to happen?

Successful build

What actually happened?

[3/101] Compiling C object src/libdav1d_bitdepth_8.a.p/cdef_apply_tmpl.c.obj
  FAILED: [code=2] src/libdav1d_bitdepth_8.a.p/cdef_apply_tmpl.c.obj 
  "C:\Strawberry\c\bin\ccache.exe" "cl" "-Isrc\libdav1d_bitdepth_8.a.p" "-Isrc" "-I..\dav1d-src\src" "-I." "-I..\dav1d-src" "-Iinclude\dav1d" "-I..\dav1d-src\include\dav1d" "-Iinclude" "-I..\dav1d-src\include" "-I..\dav1d-src\include\compat\msvc" "-DNDEBUG" "/MD" "/nologo" "/utf-8" "/W3" "/O2" "/Gw" "-wd4028" "-wd4090" "-wd4996" "/showIncludes" "-DBITDEPTH=8" "/Fdsrc\libdav1d_bitdepth_8.a.p\cdef_apply_tmpl.c.pdb" /Fosrc/libdav1d_bitdepth_8.a.p/cdef_apply_tmpl.c.obj "/c" ../dav1d-src/src/cdef_apply_tmpl.c
  ..\dav1d-src\include\compat\msvc\stdatomic.h(35): error C7780: function-like macro '__has_include_next' is not defined
  ..\dav1d-src\include\compat\msvc\stdatomic.h(35): fatal error C1017: invalid integer constant expression

This has already been fixed in dav1d's master branch, but I don't know if a new release is available yet.

This did not occur in a different run a few hours earlier, so I guess GitHub Actions is currently in the middle of propagating an MSVC version update.

What are your OS, Python and Pillow versions?

  • OS: Windows
  • Python: N/A
  • Pillow: main branch

Activity

  1. radarhere commented on Nov 18, 2026

    @radarhere
    Member
  2. radarhere commented on Nov 20, 2026

    @radarhere
    Member

    I spoke too soon, the issue has been recurring in our non-wheels Windows builds, and now #10569 has been created to address it.

  3. radarhere commented on Nov 20, 2026

    @radarhere
    Member

    #10569 has been merged.

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