After running `pio run --target compiledb` to generate `compile_commands.json`, clangd (at least in neovim) throws errors that `-fno-tree-switch-conversion` and `-fstrict-volatile-bitfields` are not valid flags.
6 lines
120 B
YAML
6 lines
120 B
YAML
CompileFlags:
|
|
Add: [-std=c++2a]
|
|
Remove:
|
|
- -fno-tree-switch-conversion
|
|
- -fstrict-volatile-bitfields
|