MacOS13 + xcode14beta2 it don't work

862 views
Skip to first unread message

chuya wang

unread,
Sep 1, 2022, 11:07:06 AM9/1/22
to Chromium-dev
../third_party/vulkan-deps/vulkan-validation-layers/src/layers/core_validation.cpp:16591:9: error: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Werror,-Wdeprecated-declarations]
        sprintf(str, "%s called with a non-supported pCreateInfo->compositeAlpha (i.e. %s).  Supported values are:\n", func_name,
        ^
10284BF9-4094-493a-9FB3-167EFB5D6348.png

Nico Weber

unread,
Sep 1, 2022, 11:26:04 AM9/1/22
to Chromium-dev, gales...@gmail.com
This got fixed a while ago in https://github.com/KhronosGroup/Vulkan-ValidationLayers/commit/afb8986592acc52b3ea1a25fc9a4fabb1311be49


As far as I know, current HEAD builds fine with the beta SDK.

You probably have to update your checkout :)

chuya wang

unread,
Sep 3, 2022, 2:18:54 AM9/3/22
to Chromium-dev, Nico Weber, chuya wang
 Thank you! 
Reply all
Reply to author
Forward
0 new messages