Skip to content

[BUG] vulkanmemallocator is missing snprintf header #3193

Closed
mono/skia
#152
@kasperk81

Description

@kasperk81

I am converging debian an alpine toolchains on top of #3192 and ran into an error with clang-19 on debian amd64 cross-compiling for alpine riscv64:

error: 'snprintf' was not declared in this scope
[  424s]  2817 |         snprintf(outStr, strLen, "%u", static_cast<unsigned int>(num));
[  424s]       |         ^~~~~~~~

tracked it to
https://github.com/mono/skia/blob/1c3113af31028b19affaff5d71f47c920acbe4f4/DEPS#L59

which is >2y old because it's missing this patch GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator@29d492b

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions