From 5ae0cdfc08f68875e0b5fcbf2d768a19d18a251a Mon Sep 17 00:00:00 2001 From: coolneng Date: Tue, 25 Nov 2025 16:36:09 +0100 Subject: [PATCH] Remove clangd linting errors --- .clangd | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .clangd diff --git a/.clangd b/.clangd new file mode 100644 index 0000000..293ebea --- /dev/null +++ b/.clangd @@ -0,0 +1,26 @@ +CompileFlags: + Add: [ + -DSSIZE_MAX, + -DLWIP_NO_UNISTD_H=1, + -Dssize_t=long, + -D_SSIZE_T_DECLARED, + -Wno-unknown-warning-option + ] + Remove: [ + -mlong-calls, + -fno-tree-switch-conversion, + -mtext-section-literals, + -mlongcalls, + -fstrict-volatile-bitfields, + -free, + -fipa-pta, + -march=*, + -mabi=*, + -mcpu=* + ] +Diagnostics: + Suppress: + - pp_including_mainfile_in_preamble + - pp_expr_bad_token_start_expr + - redefinition_different_typedef + - main_returns_nonint