digitalmars.D.bugs - [Issue 16359] New: Mangling of const static arrays does not match C++
- via Digitalmars-d-bugs (22/22) Aug 07 2016 https://issues.dlang.org/show_bug.cgi?id=16359
https://issues.dlang.org/show_bug.cgi?id=16359 Issue ID: 16359 Summary: Mangling of const static arrays does not match C++ Product: D Version: D2 Hardware: All OS: Windows Status: NEW Severity: normal Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: bugzilla digitalmars.com The D file: extern (C++) __gshared const int[3] xxx; mangles xxx as: ?xxx 3QAHB while the C++ file: const int xxx[3] = { 1,2,3 }; mangles xxx as: ?xxx 3QBHB --
Aug 07 2016