User Changes 2.6.0

From Lazarus wiki
Revision as of 20:45, 10 August 2010 by FPK (talk | contribs) (New page: ==== 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 ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.