User Changes 2.6.0
From Lazarus wiki
Jump to navigationJump to search
Overflow/Rangechecking for floating point constants
- Old behavior: When a NaN floating point constant was assigned to a variable in $R+ or $Q+ mode, the compiler threw an error.
- New behaviour: Assigning a NaN constant to a variable does not throw an error anymore if $R+ or $Q+ are active, to get an error $ieeeerrors must be active.
- Reason: Consistency.
- Remedy: Add {$ieeeerrors+} to your code or add -C3 on the command line.