Menu

- Learn
- Documentation
  - Language Reference
  - Library Reference
  - Command-line Reference
  - Feature Overview
  - Articles
- Downloads
- Packages
- Community
  - Blog
  - Orgs using D
  - Twitter
  - Forums
  - IRC
  - Wiki
  - GitHub
  - Issues
  - Get involved
  - Contributors
  - Foundation
  - Donate
  - Sponsors
- Resources
  - Tour
  - Books
  - Tutorials
  - Tools
  - Editors
  - IDEs
  - Visual D
  - Acknowledgments
  - D Style
  - Glossary
  - Sitemap

Search
Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using a local clone.

# Change Log: 2.068.1

Download D 2.068.1
released Sep 06, 2015

#### Library Changes

1. Functions to configure coverage, profile, and profile=gc reports were added.

List of all bug fixes and enhancements in D 2.068.1.

#### Library Changes

1. Functions to configure coverage, profile, and profile=gc reports were added.

   While they have been accessible through extern(C) linkage for a while, the functions to configure coverage, profile, and profile=gc reports where added to core.runtime.

   Functions | Decscription
   --- | ---
   dmd_coverSourcePath | Set the directory which contains the source files.
   dmd_coverDestPath | Set the directory where to write the -cov reports.
   dmd_coverSetMerge | Set whether or not to merge results with existing -cov reports.
   trace_setlogfilename | Set the output file for the -profile report.
   trace_setdeffilename | Set the output file for the optimized -profile linker script.
   profilegc_setlogfilename | Set the output file for the -profile=gc report.

   Note that these functions are specific to dmd, and might not be available on other compilers.

List of all bug fixes and enhancements in D 2.068.1:

#### DMD Compiler regressions

1. Bugzilla 14431: [REG 2.067.0] huge slowdown of compilation speed
2. Bugzilla 14621: [REG2.066] ICE: Assertion failure: 'global.gaggedErrors || global.errors' on line 752 in file 'statement.c'
3. Bugzilla 14781: [REG2.067] impure delegate to pure function context should be able to modify context
4. Bugzilla 14901: [reg 2.067/2.068] template static shared this() run multiple times with separate compilation
5. Bugzilla 14911: Compiler found indexing in code "new MyStruct[2].ptr"
6. Bugzilla 14923: [REG2.067] ICE: Assertion failed: (tret->ty != Tvoid), function semantic3, file func.c, line 1736.
7. Bugzilla 14926: Programs compiled using dmd 2.068 are generating dummy profilegc.log files
8. Bugzilla 14929: [REG2.067] ICE: Assertion failure: 'ez->exp && ez->exp->op == TOKconstruct' on line 302 in file 'escape.c'
9. Bugzilla 14944: [REG2.064] cannot initialize static array by static this()
10. Bugzilla 14948: [Reg 2.068.0] AA key requirement was broken w/o notice and w/ horrible error message
11. Bugzilla 14962: [REG2.068] compiler inference of attributes for nested map seems broken
12. Bugzilla 14973: [REG2.068] compiler inference of contexts for nested map seems broken
13. Bugzilla 14985: [REG2.068.1-b1] Link failure for const TypeInfo of speculative instantiated struct
14. Bugzilla 14986: [REG2.068.1-b2] Assertion failed: (id->dyncast() == DYNCAST_DSYMBOL)
15. Bugzilla 15002: [REG2.064] ICE with invalid static variable initializer while CTFE
16. Bugzilla 15017: [REG2.068.1-b2] assigning a Variant to be value in a hashmap

#### DMD Compiler bugs

1. Bugzilla 14624: The array operator overloading fallback is not correct
2. Bugzilla 14625: opIndex() doesn't work on foreach container iteration
3. Bugzilla 14696: destructor for temporary called before statement is complete with conditional operator
4. Bugzilla 14708: destructor for temporary not called during stack unwinding
5. Bugzilla 14889: ICE: Assertion `o->dyncast() == DYNCAST_DSYMBOL' failed.
6. Bugzilla 14900: 2.068.0 change log example does not compile

#### DMD Compiler enhancements

1. Bugzilla 13889: mscoff32 libs not available
2. Bugzilla 14951: Win64: Invalid C++ mangling for __gshared pointer variables

#### Phobos regressions

1. Bugzilla 14904: [REG2.067.0] bad error message in reduce: 'Incompatible function/seed/element'
2. Bugzilla 14920: [REG2.067.0] SList.insertAfter on uninitialized list triggers assertion in _first
3. Bugzilla 14980: [REG2.068] getAddressInfo(null) broken

#### Installer bugs

1. Bugzilla 14897: shared linux libraries from zip package don't work

Copyright © 1999-2018 by the D Language Foundation | Page generated by Ddoc on Fri Mar 2 18:16:19 2018