summaryrefslogtreecommitdiff
path: root/include/android/system
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2024-05-04 16:47:55 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2024-05-07 19:35:43 +0300
commit6cd849125888782ed12af87f80a1ee9c43bcf553 (patch)
tree5370f85ecda78ad9cf3d8bd5074863908191064b /include/android/system
parentbf4695266bfca8cc21bcf10a3281e874ebce0d27 (diff)
test: Don't add current build directory to include path
Meson adds the current source and build directory to the include path by default. This causes a namespace clash in tests when using C++20, as the Span class test is compiled into a binary named 'span', which then gets included by source code through indirect '#include <span>' directives. Unsurprisingly, the compiler doesn't react happily when fed binary data. We could work around the problem by renaming the test executable, but disabling the implicit inclusion of the local directory is a more generic solution that will avoid similar issues in the future. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Diffstat (limited to 'include/android/system')
0 files changed, 0 insertions, 0 deletions