Bug 16359 – Mangling of const static arrays does not match C++

Status
NEW
Severity
normal
Priority
P3
Component
dmd
Product
D
Version
D2
Platform
All
OS
Windows
Creation time
2016-08-07T09:37:01Z
Last change time
2024-12-13T18:49:25Z
Keywords
C++, mangling
Assigned to
No Owner
Creator
Walter Bright
Moved to GitHub: dmd#17770 →

Comments

Comment #0 by bugzilla — 2016-08-07T09:37:01Z
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
Comment #1 by robert.schadek — 2024-12-13T18:49:25Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/17770 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB