April 13, 2022 [Issue 23012] New: importC: asm label to set symbol name not applied from forward declaration | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23012 Issue ID: 23012 Summary: importC: asm label to set symbol name not applied from forward declaration Product: D Version: D2 Hardware: All OS: Linux Status: NEW Keywords: ImportC Severity: normal Priority: P1 Component: dmd Assignee: nobody@puremagic.com Reporter: duser@neet.fi CC: duser@neet.fi void fn() asm("test1"); void fn(){} extern int xs[] asm("test2"); int xs[1]; compile and list the names with something like: dmd -c test.c && nm test.o they use the asm names with gcc but not with dmd -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply