Open lygstate opened 3 months ago
It looks like you are using the incorrect syntax, after changing the line
PEB peb{.ImageUs·edLargePages = 1};
to
PEB peb{1};
The error disappeared and the code compiled correctly.
It looks like you are using the incorrect syntax, after changing the line
PEB peb{.ImageUs·edLargePages = 1};
to
PEB peb{1};
The error disappeared and the code compiled correctly.
it's c++20 syntax
There seems to be a problem with the levels of nested fields in the IntelliSense. .SpareBool
and .BitField_0x03
work fine. The fields inside the struct are found by auto-complete and are suggested as expected, but are flagged as errors by the IntelliSense compiler once used. This is a bug with IntelliSense.
This issue has been reported to our internal team (VS: 2100479). Please follow this issue for more updates on when a fix has been introduced.
Environment
Bug Summary and Steps to Reproduce
Bug Summary:
Configuration and Logs
cl -std:c++20 test.cpp can compile
Other Extensions
No response
Additional context
No response