[Issue 13937] New: C++ mangling for template negative parameter not correct for dmc

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Jan 5 07:41:04 PST 2015


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

          Issue ID: 13937
           Summary: C++ mangling for template negative parameter not
                    correct for dmc
           Product: D
           Version: D2
          Hardware: x86
                OS: Windows
            Status: NEW
          Keywords: link-failure
          Severity: regression
          Priority: P1
         Component: DMD
          Assignee: nobody at puremagic.com
          Reporter: schveiguy at yahoo.com

In issue 13932, I fixed a bug for almost all platforms that was not properly
mangling an int template parameter.

However, on DMC and win32, the mangling is much different, and actually was
correct when it ignored any sign.

The correct fix for win32 is to (on that platform only) ignore any sign issues,
just always output unsigned.

Will do a PR now.

--


More information about the Digitalmars-d-bugs mailing list