www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 13937] New: C++ mangling for template negative parameter not

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 puremagic.com
          Reporter: schveiguy 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.

--
Jan 05 2015