Code compiles, but VSCode intellisense error"identifier is undefined" and "a declaration here must declare a parameter"

Questions or comments regarding the setup and build process of Kohi.
Post Reply
User avatar
travisvroman
Site Admin
Posts: 4
Joined: Wed Aug 25, 2021 12:22 pm
Contact:

Code compiles, but VSCode intellisense error"identifier is undefined" and "a declaration here must declare a parameter"

Post by travisvroman »

Posting this here for anyone that runs across it:

The project compiles without any issues.

Code: Select all

${VULKAN_SDK}
is defined inside the

Code: Select all

c_cpp_properties.json
file.


Note: This doesn't just apply to the Vulkan code, it seems to be more widespread than that.

The fix for this is to downgrade the C/CPP extension to 1.5.1.
1.6 for some reason causes this issue.
This has been reported here: https://github.com/microsoft/vscode-cpp ... ssues/8049
Creator of Kohi Game Engine. Converts caffeine to code.
YouTube: http://youtube.com/travisvroman
Discord: http://discord.gg/YBMH9Em
Post Reply