You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The preprocessor directives #warning and #warn are not suppored in Language Service.
OS and Version:
OS Name: Microsoft Windows 10 Pro
OS Version: 10.0.18329 N/A Build 18329
OS Manufacturer: Microsoft Corporation
OS Configuration: Standalone Workstation
OS Build Type: Multiprocessor Free
BIOS Version: LENOVO 39CN16WW , 7/29/2010
What is "#warn"? What compiler supports that? Where is that defined in the C/C++ language?
#warning is expected to work if we ever ship warning support -- it was implemented, but post-poned because we wanted to add the ability to suppress unwanted warnings first: #828
UPDATE: And our extension doesn't implement any syntax colorization yet, so "#warn" would need to be added the VS Code's implementation (i.e. atom/language-c).
Type: LanguageService
https://github.com/Microsoft/vscode-cpptools
Describe the bug
The preprocessor directives
#warning
and#warn
are not suppored in Language Service.To Reproduce
The Language Service does not work in this case
2.1: error Code completion with C/C++ extension #1:
unrecognized preprocessing directive
2.2: error Path must be a string. Received undefined #2: The code highlight is wrong. (not even GitHub understands this.)
Expected behavior
Screenshots
Additional context
The text was updated successfully, but these errors were encountered: