Extended_const_expr
(Project Properties window)
*.prj\COMPILE\Messages\Warning\Extended_const_expr
See –We in the documentation for your toolchain.