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

Intellisense gives incomplete type/no storage class or type specifier errors on blank project #1

Open
hypercubed-music opened this issue Dec 13, 2021 · 1 comment
Labels
good first issue Good for newcomers question Further information is requested

Comments

@hypercubed-music
Copy link

hypercubed-music commented Dec 13, 2021

OS: Windows 10 21H1 running vscode on WSL 2 (Ubuntu 20.04)
VScode version 1.63.0
C/C++ extension v 1.7.1 and 1.8.0-insiders2

Everything builds fine; I just want to have autocomplete and code correction and stuff.

On templatefx.cpp I have error squiggles on FX_INIT and FX_PROCESS saying "this declaration has no storage class or type specifier"

Also for templateosc.cpp, I get error squiggles under uint32_t on all the function declarations with the error variable "uint32_t" is not a type name.
Removing attribute((unused)) corrects this problem but then I get an error for void OSC_INIT where "incomplete type is not allowed."

@dukesrg dukesrg added good first issue Good for newcomers question Further information is requested labels Dec 14, 2021
@dukesrg
Copy link
Owner

dukesrg commented Dec 14, 2021

VScode project should respect all include foders configured in makefile. Honestly I did not bother with that but this should fix uint32_t and similar issues. As for the macros, not sure VScode C++ plugin will repect such complications.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants