added a switch -d:nimEmulateOverflowChecks for broken or old GCC versions (#13692)
This commit is contained in:
parent
b5c9881a30
commit
ba6e7c6365
4 changed files with 13 additions and 5 deletions
|
|
@ -3,6 +3,12 @@
|
|||
|
||||
## Changes affecting backwards compatibility
|
||||
|
||||
- The Nim compiler now implements a faster way to detect overflows based
|
||||
on GCC's `__builtin_sadd_overflow` family of functions. (Clang also
|
||||
supports these). Some versions of GCC lack this feature and unfortunately
|
||||
we cannot detect this case reliably. So if you get compilation errors like
|
||||
"undefined reference to '__builtin_saddll_overflow'" compile your programs
|
||||
with `-d:nimEmulateOverflowChecks`.
|
||||
|
||||
|
||||
### Breaking changes in the standard library
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue