[Issue 16359] New: Mangling of const static arrays does not match C++
    via Digitalmars-d-bugs 
    digitalmars-d-bugs at puremagic.com
       
    Sun Aug  7 02:37:01 PDT 2016
    
    
  
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 at puremagic.com
          Reporter: bugzilla at 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
--
    
    
More information about the Digitalmars-d-bugs
mailing list