Summary: | 1.7 version does not compile with LLVM/clang-11.x | ||
---|---|---|---|
Product: | [Developer tools] clazy | Reporter: | Tomasz Paweł Gajc <tpgxyz> |
Component: | general | Assignee: | Unassigned bugs mailing-list <unassigned-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | smartins |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Tomasz Paweł Gajc
2020-08-26 09:15:59 UTC
commit 1f2f7f47bc9a5bce6e3eaabbef8743f0617bc015 (HEAD -> master, origin/master) Author: Sergio Martins <smartins@kde.org> Date: Wed Oct 14 15:47:13 2020 +0100 Fix build with llvm-11 Hi, ive added your commit to clazy-1.8 build. Still same error: https://abf.openmandriva.org/build_lists/917634 /usr/include/llvm/Support/type_traits.h:31:28: error: no template named 'remove_reference_t' in namespace 'std'; did you mean 'remove_reference'? using UnderlyingT = std::remove_reference_t<T>; ~~~~~^ https://github.com/OpenMandrivaAssociation/clazy/commit/0a749bf7fd51cce3006737bba22a0fa5acd727a6 if you copy that compiler invocation line, but replace -std=c++11 with -std=c++14 , does it work ? Sorry for the noise. After proper update to 1.8 version things are compiling without errors. |