From 9c511a1fa54dd7d974310eaae6a28ca94f655894 Mon Sep 17 00:00:00 2001 From: Gurchetan Singh Date: Tue, 20 Jan 2026 16:12:13 -0800 Subject: [PATCH] gfxstream: fixes related to -Wmissing-prototypes - the vkSetDebugMetadataAsyncGOOGLE command should not have an entry in the function table: it leads to missing prototype errors - Make gfxstream respect cpp_msvc_compat_args, since it is a C++ project. -Wmissing-prototypes will be made a cpp error *eventually*. Reviewed-by: Aaron Ruby Part-of: --- src/gfxstream/codegen/scripts/cereal/functable.py | 1 + src/gfxstream/guest/meson.build | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gfxstream/codegen/scripts/cereal/functable.py b/src/gfxstream/codegen/scripts/cereal/functable.py index 725ff98a619..03e53180755 100644 --- a/src/gfxstream/codegen/scripts/cereal/functable.py +++ b/src/gfxstream/codegen/scripts/cereal/functable.py @@ -162,6 +162,7 @@ NON_AUTOGEN_ENTRYPOINTS = [ "vkQueueSubmitAsync2GOOGLE", "vkGetSemaphoreGOOGLE", "vkTraceAsyncGOOGLE", + "vkSetDebugMetadataAsyncGOOGLE", ] # Handles that need to be translated to/from their corresponding gfxstream object types diff --git a/src/gfxstream/guest/meson.build b/src/gfxstream/guest/meson.build index 521486fad8c..2b22eb18952 100644 --- a/src/gfxstream/guest/meson.build +++ b/src/gfxstream/guest/meson.build @@ -13,7 +13,7 @@ endif #===============# # Configuration # #===============# -gfxstream_guest_args = ['-D_FILE_OFFSET_BITS=64'] +gfxstream_guest_args = cpp_msvc_compat_args + ['-D_FILE_OFFSET_BITS=64'] # Our internal guest build if host_machine.system() == 'windows'