Source: vulkan-memory-allocator
Version: 3.0.1+dfsg-1
Severity: serious
Tags: ftbfs

https://buildd.debian.org/status/fetch.php?pkg=vulkan-memory-allocator&arch=riscv64&ver=3.0.1%2Bdfsg-1&stamp=1695533510&raw=0

...
In file included from /<<PKGBUILDDIR>>/src/VmaUsage.h:91,
                 from /<<PKGBUILDDIR>>/src/VmaUsage.cpp:30:
/<<PKGBUILDDIR>>/src/../include/vk_mem_alloc.h: In function ‘void 
VmaUint32ToStr(char*, size_t, uint32_t)’:
/<<PKGBUILDDIR>>/src/../include/vk_mem_alloc.h:2817:9: error: ‘snprintf’ was 
not declared in this scope
 2817 |         snprintf(outStr, strLen, "%u", static_cast<unsigned int>(num));
      |         ^~~~~~~~
/<<PKGBUILDDIR>>/src/../include/vk_mem_alloc.h:2651:1: note: ‘snprintf’ is 
defined in header ‘<cstdio>’; did you forget to ‘#include <cstdio>’?
 2650 |     #include <mutex>
  +++ |+#include <cstdio>
 2651 | #else
/<<PKGBUILDDIR>>/src/../include/vk_mem_alloc.h: In function ‘void 
VmaUint64ToStr(char*, size_t, uint64_t)’:
/<<PKGBUILDDIR>>/src/../include/vk_mem_alloc.h:2821:9: error: ‘snprintf’ was 
not declared in this scope
 2821 |         snprintf(outStr, strLen, "%llu", static_cast<unsigned long 
long>(num));
      |         ^~~~~~~~
/<<PKGBUILDDIR>>/src/../include/vk_mem_alloc.h:2821:9: note: ‘snprintf’ is 
defined in header ‘<cstdio>’; did you forget to ‘#include <cstdio>’?
/<<PKGBUILDDIR>>/src/../include/vk_mem_alloc.h: In function ‘void 
VmaPtrToStr(char*, size_t, const void*)’:
/<<PKGBUILDDIR>>/src/../include/vk_mem_alloc.h:2825:9: error: ‘snprintf’ was 
not declared in this scope
 2825 |         snprintf(outStr, strLen, "%p", ptr);
      |         ^~~~~~~~
/<<PKGBUILDDIR>>/src/../include/vk_mem_alloc.h:2825:9: note: ‘snprintf’ is 
defined in header ‘<cstdio>’; did you forget to ‘#include <cstdio>’?
make[3]: *** [src/CMakeFiles/VulkanMemoryAllocator.dir/build.make:79: 
src/CMakeFiles/VulkanMemoryAllocator.dir/VmaUsage.cpp.o] Error 1

Reply via email to