diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-06-09 00:27:14 +0300 |
---|---|---|
committer | Umang Jain <umang.jain@ideasonboard.com> | 2021-06-09 10:47:27 +0530 |
commit | 529a3c4e43f68576ba4a09d0d8a8e271a211a200 (patch) | |
tree | 8870d121a0769e66497ada32b1e5571e6cc6eda6 /test/v4l2_videodevice/v4l2_videodevice_test.cpp | |
parent | 6914fc487f6a861fcce295f37ffe8a5079921b0d (diff) |
ipa: ipu3: Fix struct/class mismatch in forward declaration
The ipu3_agc.h forward-declares the IPACameraSensorInfo structure, but
incorrectly declares it as a class. This causes a compilation error with
clang:
include/libcamera/ipa/core_ipa_interface.h:24:1: error: 'IPACameraSensorInfo' defined as a struct here but previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Werror,-Wmismatched-tags]
struct IPACameraSensorInfo
^
../../src/ipa/ipu3/ipu3_agc.h:21:1: note: did you mean struct here?
class IPACameraSensorInfo;
^~~~~
struct
Fix it.
Fixes: 384a53d3cdf7 ("ipa: ipu3: Calculate line duration from IPACameraSensorInfo")
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Hirokazu Honda <hiroh@chromium.org>
Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Tested-by: Umang Jain <umang.jain@ideasonboard.com>
Signed-off-by: Umang Jain <umang.jain@ideasonboard.com>
Diffstat (limited to 'test/v4l2_videodevice/v4l2_videodevice_test.cpp')
0 files changed, 0 insertions, 0 deletions