diff options
author | Paul Elder <paul.elder@ideasonboard.com> | 2021-08-02 18:34:11 +0900 |
---|---|---|
committer | Paul Elder <paul.elder@ideasonboard.com> | 2021-08-03 12:07:00 +0900 |
commit | e9288e2ee5aa6c1637212ca4b51cd0a951b7bd05 (patch) | |
tree | b02b60e8d7b3a46fd3ab8bd6d65becc520603442 /src/android/camera_ops.cpp | |
parent | f0a427d4b74612e1583ea300d758bd00fe281d42 (diff) |
meson: Update min clang version to 9
__builtin_FILE and __builtin_LINE are first defined in clang 9. With
clang of any version less than that we have the following compilation
errors:
../../include/libcamera/base/log.h:94:27: error: use of undeclared identifier '__builtin_FILE'
const char *fileName = __builtin_FILE(),
^
../../include/libcamera/base/log.h:95:24: error: use of undeclared identifier '__builtin_LINE'
unsigned int line = __builtin_LINE()) const;
^
../../include/libcamera/base/log.h:99:26: error: use of undeclared identifier '__builtin_FILE'
const char *fileName = __builtin_FILE(),
^
../../include/libcamera/base/log.h:100:23: error: use of undeclared identifier '__builtin_LINE'
unsigned int line = __builtin_LINE());
Enforce clang version of at least 9 in the main meson file.
Signed-off-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/android/camera_ops.cpp')
0 files changed, 0 insertions, 0 deletions