__declspec
attribute is not recognised with -fdeclspec
#12282
Labels
bug
Feature: Configuration
An issue related to configuring the extension or IntelliSense
Language Service
verified
Bug has been reproduced
Environment
Bug Summary and Steps to Reproduce
Bug Summary:
When using clang the
__declspec
attribute is not recognised in vscode when-fdeclspec
is present in the compiler arguments even though the code compiles succesfully.Steps to reproduce:
The following code compiles perfectly fine with
clang++ main.cpp -fdeclspec
vscode is unable to recognise
__declspec
when-fdeclspec
and shows the following errors:Expected behavior:
__declspec
is seen as valid code like when-fms-extensions
is presentConfiguration and Logs
Other Extensions
This issue still occurs even when c/c++ is the only enabled extension
Additional context
No response
The text was updated successfully, but these errors were encountered: