From 6f76bd59e8280b033bc38197afea4336c13d57f5 Mon Sep 17 00:00:00 2001 From: Jonh Wendell Date: Mon, 15 Dec 2025 07:30:51 -0500 Subject: [PATCH 1/2] Fix a compiler warning Signed-off-by: Jonh Wendell --- include/proxy-wasm/wasm_vm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/proxy-wasm/wasm_vm.h b/include/proxy-wasm/wasm_vm.h index 9a2f0a6a..e2e2ea0b 100644 --- a/include/proxy-wasm/wasm_vm.h +++ b/include/proxy-wasm/wasm_vm.h @@ -161,7 +161,7 @@ struct WasmVmIntegration { virtual proxy_wasm::LogLevel getLogLevel() = 0; virtual void error(std::string_view message) = 0; // Allow integrations to handle specific FailStates differently. - virtual void error(FailState fail_state, std::string_view message) { error(message); } + virtual void error(FailState, std::string_view message) { error(message); } virtual void trace(std::string_view message) = 0; // Get a NullVm implementation of a function. // @param function_name is the name of the function with the implementation specific prefix. From 0089fb14840e628f88ecdfbb6bbbfd2b33b33ebf Mon Sep 17 00:00:00 2001 From: Jonh Wendell Date: Mon, 15 Dec 2025 07:31:16 -0500 Subject: [PATCH 2/2] Remove `virtual` from a method that's causing issues to Envoy Signed-off-by: Jonh Wendell --- include/proxy-wasm/context.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/proxy-wasm/context.h b/include/proxy-wasm/context.h index 208633ac..183eaabb 100644 --- a/include/proxy-wasm/context.h +++ b/include/proxy-wasm/context.h @@ -150,7 +150,7 @@ class ContextBase : public RootInterface, const std::shared_ptr &plugin_handle); // Stream context. virtual ~ContextBase(); - virtual WasmBase *wasm() const { return wasm_; } + WasmBase *wasm() const { return wasm_; } uint32_t id() const { return id_; } // The VM Context used for calling "malloc" has an id_ == 0. bool isVmContext() const { return id_ == 0; }