(Changes since 1.33.0-beta1 are marked with (new).)
Big news
- Frontend, druntime and Phobos are at version 2.103.1, incl. new command-line option
-verror-supplements
. (#4345) - New commandline option
-femit-local-var-lifetime
that enables variable lifetime (scope) annotation to LLVM IR codegen. Lifetime annotation enables stack memory reuse for local variables with non-overlapping scope. (#4395) (new) - C files are now automatically preprocessed using the external C compiler (configurable via
-gcc
or theCC
environment variable, and-Xcc
for extra flags). Extra preprocessor flags (e.g., include dirs and manual defines) can be added via new command-line option-P
. (#4417) (new)- Windows: If
clang-cl.exe
is onPATH
, it is preferred over Microsoft'scl.exe
by default (e.g., to avoid printing the C source file name to stderr during preprocessing).
- Windows: If
- Less pedantic checks for conflicting C(++) function declarations when compiling multiple modules to a single object file ('Error: Function type does not match previously declared function with the same mangled name'). The error now only appears if an object file actually references multiple conflicting functions. (#4420) (new)
Bug fixes
- Handle potential lambda mangle collisions across separately compiled object files (and the linker then silently picking an arbitrary implementation). Lambdas (and their nested global variables) are now internal to each referencing object file (
static
linkage in C). (#4415) (new)