protonscr

[Build error] The compilation error message

dxvkclosed invalid
doitsujin/dxvk#480 · opened 2018-07-06 by zefkerr · updated 2018-07-06 · 2 comments · github
Zzefkerr 2018-07-06 github

Hi, @doitsujin !
I have a compilation error message. Is it a bug or a feature?

...
[55/150] Compiling C++ object 'src/dxvk/src@dxvk@@dxvk@sta/dxvk_image.cpp.obj'.
../../dxvk-git/src/dxvk/dxvk_image.cpp: In constructor ‘dxvk::DxvkImage::DxvkImage(const dxvk::Rcdxvk::vk::DeviceFn&, const dxvk::DxvkImageCreateInfo&, dxvk::DxvkMemoryAllocator&, VkMemoryPropertyFlags)’:
../../dxvk-git/src/dxvk/dxvk_image.cpp:20:36: warning: variable ‘formatList’ set but not used [-Wunused-but-set-variable]
VkImageFormatListCreateInfoKHR formatList;
^~~~~~~~~~
...

screenshot from 2018-07-06 20-39-58

System information

  • OS: Arch Linux with temporary downgraded gcc 7.3 and gcc-libs 7.3, because a Wine bug.
  • DXVK version: 4d1a70b
Ddoitsujin maintainer 2018-07-06 github

This is not even an error, it's a warning. Yes, I'm aware, no, I won't fix it or accept any "fixes" for it because the goal is to re-enable the image format list extension as soon as possible.

Zzefkerr 2018-07-06 github

@doitsujin I understood, thank you!

Upstream links