Open 00001H opened 1 year ago
This seems like an issue on shared VS component and is being tracked internally. The more upvotes on this or the original issue can help prioritize the fix.
@00001H Also can you send a screenshot of the error message?
@Bernardin-MS Here it is. Note: first line is cut off.
Note: tried reloading intellisense / reloading window / rebooting computer, and the error persists.
Thank you for the screenshot, we've passed it along
The VS internal bug is 1741449
Environment
Bug Summary and Steps to Reproduce
Bug Summary: Related: https://github.com/microsoft/vscode-cpptools/issues/9293 IntelliSense treats function-like macros as function calls, and flag them in invalid contexts.
(Proposed fix: expand all macros before intellisense runs.)
Steps to reproduce:
Expected behavior:
Configuration and Logs
Log diagonistics(command palette):
NOTE: the
mre.cpp
file is the Minimum Reproducible Example provided in the bug report. Other files are confirmed to have no effect on this problem.Language server log: