mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-05-23 21:38:05 -04:00
project: add .clangd, where we set -Wno-c2y-extensions
We make use of __COUNTER__, which recent versions of clang emit a warning for (unless you compile with -std=c2y). Our meson.build already handles this for the actual build, but if your build is using gcc, -Wno-c2y-extensions isn't added to the build rules (since gcc doesn't support the flag).
This commit is contained in:
parent
2d11b36a24
commit
f35e60577f
1 changed files with 5 additions and 0 deletions
5
.clangd
Normal file
5
.clangd
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
# -*- yaml -*-
|
||||||
|
|
||||||
|
CompileFlags:
|
||||||
|
Add:
|
||||||
|
- -Wno-c2y-extensions
|
||||||
Loading…
Add table
Add a link
Reference in a new issue