C1441: Constant expression shall be integral constant expression
[ERROR]
Description
A constant expression which has to be an integral expression is not integral. A non-integral expression is e.g. a floating constant expression.
Example
#if 1. // << has to be integral!
;
#endif
Tips
Use a integral constant expression.
Note:
If you move this message (to disable/information/warning), the non-integral constant expression is transformed into an integral expression (e.g.
2.3 => 2).