May 02, 2023 [Issue 23875] New: ImportC: __attribute__ in a cast doesn't work | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23875 Issue ID: 23875 Summary: ImportC: __attribute__ in a cast doesn't work Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal Priority: P1 Component: dmd Assignee: nobody@puremagic.com Reporter: bugzilla@digitalmars.com int pluto() { (__attribute__((__vector_size__ (16))) int) {4,1,2,3}; } produces: test.c(5): Error: expression expected, not `__attribute__` test.c(5): Error: found `int` when expecting `)` test.c(5): Error: found `)` when expecting `;` following statement test.c(5): Error: found `}` when expecting `;` following statement test.c(7): Error: found `End of File` when expecting `}` following compound statement -- |
Copyright © 1999-2021 by the D Language Foundation