E2060 Illegal use of floating point (C++)

From RAD Studio
Jump to: navigation, search

Go Up to Compiler Errors And Warnings (C++) Index

Floating-point operands are not allowed in these operators

  • shift (SHL, SHR)
  • bitwise Boolean (AND, OR, XOR, NOT)
  • conditional (? :)
  • indirection (*)
  • certain others

The compiler found a floating-point operand with one of these prohibited operators.