December 27, 2022 [Issue 23584] New: ImportC: expression expected, not `unsigned` | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23584 Issue ID: 23584 Summary: ImportC: expression expected, not `unsigned` Product: D Version: D2 Hardware: x86_64 OS: Mac OS X Status: NEW Severity: normal Priority: P1 Component: dmd Assignee: nobody@puremagic.com Reporter: doob@me.com Compiling the following C code: int foo(float bar) { return __builtin_bit_cast(unsigned int, bar); } Results in the following errors: foo.c(3): Error: expression expected, not `unsigned` foo.c(3): Error: found `int` when expecting `)` foo.c(3): Error: found `)` when expecting `;` following `return` statement I'm using macOS 13.0.1, DMD v2.101.1 and Xcode 14.2. -- |
Copyright © 1999-2021 by the D Language Foundation