# Clang compiler

**URL:** https://discourse.cmake.org/t/clang-compiler/7271
**Category:** Usage
**Tags:** os:linux
**Created:** [January 18, 2023, 11:28am UTC](https://discourse.cmake.org/t/clang-compiler/7271 "2023-01-18T11:28:23Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Alex2671](https://discourse.cmake.org/user_avatar/discourse.cmake.org/alex2671/32/2916_2.png) [@Alex2671](https://discourse.cmake.org/u/Alex2671)
#### Post date: [January 18, 2023, 11:28am UTC](https://discourse.cmake.org/t/clang-compiler/7271/1 "2023-01-18T11:28:23Z")

</div>

Hi! I order to solve the warning “clang version too old to be used with SSCP compiler , diabling WITH\_SSCP\_COMPILER” i used several comands such as:

-DLLVM\_DIR=/path/to/llvm/cmake  
-DCLANG\_EXECUTABLE\_PATH=/path/to/clang++  
-DCLANG\_INCLUDE\_PATH=/path/to/clang-includes

But no one is solving this problem, i still build with old compilator in /usr/lib/llvm-11/cmake

What should i do?

---

<div class="post-metadata">

### Author: ![Alex2671](https://discourse.cmake.org/user_avatar/discourse.cmake.org/alex2671/32/2916_2.png) [@Alex2671](https://discourse.cmake.org/u/Alex2671)
#### Post date: [January 18, 2023, 2:12pm UTC](https://discourse.cmake.org/t/clang-compiler/7271/2 "2023-01-18T14:12:42Z")

</div>

Actually, i resolve this by simple deleting older versions. However if you have less hardcore methods, i open to listen!

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.cmake.org/u/ben.boeckel)
#### Post date: [January 18, 2023, 5:25pm UTC](https://discourse.cmake.org/t/clang-compiler/7271/3 "2023-01-18T17:25:58Z")

</div>

This doesn’t seem like the right place; whatever project wants this SSCP compiler is likely what needs to consider ignoring older versions.
