summary refs log tree commit diff stats
path: root/copying.txt
diff options
context:
space:
mode:
authordef <dennis@felsin9.de>2015-05-03 03:47:24 +0200
committerdef <dennis@felsin9.de>2015-05-03 03:49:11 +0200
commit0e8e57496190f1773667b8c536c72a8b47d1b9e6 (patch)
tree0cec09d33bc802260f27e10cca1fd6f6e0bccbd9 /copying.txt
parentfe268b7df7f6b8f7dbfc7eba9c159c6bca769520 (diff)
downloadNim-0e8e57496190f1773667b8c536c72a8b47d1b9e6.tar.gz
Use builtin overflow functions of Clang and GCC (WIP, RFC)
This only works with recent Clang and GCC 5.0.

Currently it doesn't work because __has_builtin can't be defined.

This is totally ugly. But we can't reliably detect whether we can use
the builtins from Nim, especially with cross-compiling where the user
may be using an older compiler version. Switching this on/off manually
with a define seems weird as well, this should work automatically.
Diffstat (limited to 'copying.txt')
0 files changed, 0 insertions, 0 deletions