[FFmpeg-trac] #9983(undetermined:new): Build error with clang on 32 bit Windows

FFmpeg trac at avcodec.org
Fri Oct 21 14:33:52 EEST 2022


#9983: Build error with clang on 32 bit Windows
-------------------------------------+-------------------------------------
             Reporter:  Christoph    |                     Type:  defect
  Reiter                             |
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Looks like clang 15 got stricter somehow:

 {{{
 C:/msys64/home/user/M/mingw-w64-ffmpeg/src/ffmpeg-4.4.2/libavutil/hwcontext_vulkan.c:865:15:
 error: incompatible pointer to integer conversion assigning to
       'VkCommandPool' (aka 'unsigned long long') from 'void *' [-Wint-
 conversion]
     cmd->pool = NULL;
 }}}

 Some searching suggests that VkCommandPool is a handle, and that
 VK_NULL_HANDLE should be used, but I don't know enough about vulkan. It
 builds fine with it at least.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9983>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list