[Issue 24129] ImportC: cannot compile any non-trivial program with multiple translation units/files: fatal error LNK1179: invalid or corrupt file: duplicate COMDAT '__acrt_locale_get_ctype_array_value'

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Sep 7 03:23:07 UTC 2023


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

--- Comment #3 from Walter Bright <bugzilla at digitalmars.com> ---
It's an important problem to fix. It's a problem only seen with the Microsoft
linker - the other linkers automatically remove duplicates, even if they are in
the same file. So I'd call it a workaround for an unusual behavior in the
Microsoft linker :-)

But I can't fix MS-LINK, so I'll just have to remove the duplicates in dmd.

--


More information about the Digitalmars-d-bugs mailing list