IntelliSense does not recognize a constexpr variable used in another constexpr definition #4736
Labels
bug
Language Service
more votes needed
Issues that have been postponed until more community members upvote it
Visual Studio
Inherited from Visual Studio
Milestone
Type: LanguageService
Describe the bug
cmake-integration
extensionIf i use a previously defined
constexpr
variable in another. IntelliSense give the error messageexpression must have a constant value
which is case i think. gcc-8-2019-q1 compiles fine.To Reproduce
Expected behavior
IntelliSense should not mark this as an error.
Screenshots
Additional context
The text was updated successfully, but these errors were encountered: