www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 19329] New: pragms(lib) and pragma(linkerDirective) can emit

https://issues.dlang.org/show_bug.cgi?id=19329

          Issue ID: 19329
           Summary: pragms(lib) and pragma(linkerDirective) can emit
                    duplicate entries to the object
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: turkeyman gmail.com

If the same lib or directive are added twice, duplicates are emit to the object
file.
The linker text list should be de-duplicated before writing out.

--
Oct 23 2018