Skip to content

Conversation

@ChAoSUnItY
Copy link
Collaborator

Due to current shecc's implementation, modern editors with common lsp such as VSCode with C/C++ plugin is unable to properly analyze from main.c, even though the code is correct. Thus we adds some system header inclusion in certain files to resolve and suppress error message. Notice that due to current frontend's limitation, including defs.h in C source files other than main.c would result weird error, thus this is not introduced in this commit.

In addition, it's annoying that VSCode always generate .vscode folder with some plugin-specific setting config files. Therefore, we also ignore it to prevent accidentally adding the config file to stage.

Due to current shecc's implementation, modern editors with common lsp
such as VSCode with C/C++ plugin is unable to properly analyze from
main.c, even though the code is correct. Thus we adds some system header
inclusion in certain files to resolve and suppress error message. Notice
that due to current frontend's limitation, including defs.h in C source
files other than main.c would result weird error, thus this is not
introduced in this commit.

In addition, it's annoying that VSCode always generate .vscode folder
with some plugin-specific setting config files. Therefore, we also
ignore it to prevent accidentally adding the config file to stage.
@jserv jserv merged commit 09bb918 into sysprog21:master Jan 19, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants