digitalmars.D.bugs - [Issue 19149] New: pragma(mangle, "...") does not work for function
- d-bugmail puremagic.com (23/23) Aug 07 2018 https://issues.dlang.org/show_bug.cgi?id=19149
https://issues.dlang.org/show_bug.cgi?id=19149 Issue ID: 19149 Summary: pragma(mangle, "...") does not work for function local __gshared variables Product: D Version: D2 Hardware: x86 OS: Mac OS X Status: NEW Severity: enhancement Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: iamthewilsonator hotmail.com pragma(mangle, "aaa") __gshared int a = 1; void main(){ } works void main(){ pragma(mangle, "aaa") __gshared int a = 1; } Error: unrecognized pragma(mangle) --
Aug 07 2018