Bug 13937 – C++ mangling for template negative parameter not correct for dmc

Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2015-01-05T15:41:00Z
Last change time
2015-02-18T03:41:52Z
Keywords
link-failure, pull
Assigned to
nobody
Creator
schveiguy

Comments

Comment #0 by schveiguy — 2015-01-05T15:41:04Z
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.
Comment #1 by schveiguy — 2015-01-05T16:47:50Z
Comment #2 by github-bugzilla — 2015-01-06T06:40:57Z
Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/b208c82e014ae51926a68c7281c18e2249864b1e Merge pull request #4254 from schveiguy/issue13937 Fix issue 13937 - C++ mangling for template negative parameter not correct for dmc
Comment #3 by github-bugzilla — 2015-02-18T03:41:52Z