From 16266def40cda947aaa1a50009e89f639c26e7cf Mon Sep 17 00:00:00 2001 From: Jean-Michel Hautbois Date: Thu, 19 Aug 2021 14:51:56 +0200 Subject: ipa: ipu3: convert AGC to the new algorithm interface In preparation for using the AGC through the new algorithm interfaces, convert the existing code to use the new function types. Now that the process call is rewritten, re-enable the compiler flag to warn when a function declaration hides virtual functions from a base class (-Woverloaded-virtual). We never use converged_ so remove its declaration. The controls may not need to be updated at each call, but it should be decided on the context side and not by a specific call by using a lock status in the Agc structure for instance. As the params_ local variable is not useful anymore, remove it here too. Signed-off-by: Jean-Michel Hautbois Reviewed-by: Kieran Bingham Reviewed-by: Laurent Pinchart --- meson.build | 4 ---- 1 file changed, 4 deletions(-) (limited to 'meson.build') diff --git a/meson.build b/meson.build index 4a10e2b6..a49c484f 100644 --- a/meson.build +++ b/meson.build @@ -108,10 +108,6 @@ if cc.has_argument('-Wno-c99-designator') ] endif -# Do not warn when a function declaration hides virtual functions from -# a base class -cpp_arguments += '-Wno-overloaded-virtual' - c_arguments += common_arguments cpp_arguments += common_arguments -- cgit v1.2.1