False positive expression must have a constant value
with __builtin_choose_expr
in _Static_assert
#10168
Labels
bug
fixed
Check the Milestone for the release in which the fix is or will be available.
Language Service
Milestone
Environment
Bug Summary and Steps to Reproduce
An error "expression must have a constant value" is reported. Changing compiler, c standard and intelli sense mode didn't help. The program compiles under both gcc and clang with
-Wall -Wextra -pedantic
. gcc is quiet, clang gives only a warningRelated to #8294
The text was updated successfully, but these errors were encountered: