Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add config for gccdiag #76

Open
randrej opened this issue Nov 17, 2021 · 1 comment
Open

Add config for gccdiag #76

randrej opened this issue Nov 17, 2021 · 1 comment

Comments

@randrej
Copy link

randrej commented Nov 17, 2021

I've written a tool that helps you get lint information from gcc, but with regards to the compile_commands.json. It's better than just calling gcc -o /dev/null because it gets the proper flags from the compilation database. This allows the compilation (which does linting alongside) to succeed almost always.

The tool can be found here. I have a diagnostic-langserver config for it in the readme there, take a look.

Would you be interested in adding the config to the wiki here?

@iamcco
Copy link
Owner

iamcco commented Nov 26, 2021

The Wiki is open editable for everyone, feel free to add these info to the wiki so it can help other people.

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

No branches or pull requests

2 participants