github ldc-developers/ldc v1.7.0
LDC 1.7.0

latest releases: v1.38.0-beta1, dmd-rewrite-v2.108.0, dmd-rewrite-v2.108.0-rc.1...
6 years ago

(Changes from 1.7.0-beta1 release are marked with (new).)

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)
  • Automated building of release and CI packages. (#2438)

Platform support

  • Supports LLVM 3.7 - 5.0. (binary packages on GitHub are built with LLVM 5.0.1 (new))
  • Windows: Supports Visual Studio/C++ Build Tools 2015 and 2017.

Bug fixes

  • ICE on chained ref-returning opIndex op-assign. (#2415)
  • Windows: export visibility ignored for globals. (#2437)
  • Print error message when trying to use shared libraries with static runtime. (#2454) (new)
  • ldc-1.7.0-beta1 regression: ICE with implicit cast. (#2471) (new)
  • CMake: use llvm-config to determine LLVM's cmake directory, if possible. (#2482) (new)

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 to real members inside structs etc.
  • Phobos does not compile on MinGW platform.
  • ThinLTO may not work well with the ld.bfd linker, use ld.gold instead (-linker=gold).

Don't miss a new ldc release

NewReleases is sending notifications on new releases.