www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 17728] New: Optlink: Error 168: >64K Global Types


          Issue ID: 17728
           Summary: Optlink: Error 168: >64K Global Types
           Product: D
           Version: D2
          Hardware: x86
                OS: Windows
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: bugzilla digitalmars.com

As reported here: https://github.com/DigitalMars/optlink/issues/21

I'm getting this error in a mid-sized application (using vibe-d and another
internal library of similar size). It appears that this limit is quite easy to
reach with moderate template use. The question is if anything can be done about
this in the linker, or if this is a fundamental limitation rooted in the object
file format.


Aug 07 2017