From e4511d02a20e53e1aa2e5d4886bd68dd73f885b3 Mon Sep 17 00:00:00 2001 From: Alexey Rusakov Date: Sat, 1 Jan 2022 19:21:59 +0100 Subject: Get LGTM working again Unfortunately LGTM still sits on Ubuntu 19.10 (not even LTS) which really limits the choice of compilers: the newest GCC is of version 9 and the newest Clang seems to be version 9 as well - both are quite old and giving when it comes to modern features support. The latest error is GCC 9 tripping over the assignment of the function specialisation to std::function. Clang 9 doesn't and otherwise seems fine. --- .lgtm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.lgtm.yml b/.lgtm.yml index 308675a8..a01e1de9 100644 --- a/.lgtm.yml +++ b/.lgtm.yml @@ -15,4 +15,4 @@ extraction: # - cmake --build build # - popd configure: - command: "cmake . -GNinja" # -DOlm_DIR=olm/build" + command: "CXX=clang++-9 cmake . -GNinja" # -DOlm_DIR=olm/build" -- cgit v1.2.3