Big news
- Frontend, druntime and Phobos are at version 2.077.1. (#2401, #2430)
- C++ exceptions can now be caught in D code, for Linux and MSVC targets (and possibly more). A logical step after consolidating LDC's exception handling for non-MSVC targets with DMD's DWARF implementation. (#2405)
Platform support
- Supports LLVM 3.7 - 5.0.
- Windows: Supports Visual Studio/C++ Build Tools 2015 and 2017.
- Android: A native 32-bit ARM package for the Termux app is included, install it with
dpkg -i ldc-beta_1.7.0_android-arm.deb
. To cross-compile, see the wiki.
Bug fixes
- ICE on chained ref-returning opIndex op-assign. (#2415)
- Windows:
export
visibility ignored for globals. (#2437)
Known issues
- LDC does not zero the padding area of a
real
variable. This may lead to wrong results if the padding area is also considered. See #770. Does not apply toreal
members inside structs etc. - Phobos does not compile on MinGW platform.
- ThinLTO may not work well with the
ld.bfd
linker, useld.gold
instead (-linker=gold
).