March 25, 2022 [Issue 22928] New: importC: array does not have a boolean value | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=22928 Issue ID: 22928 Summary: importC: array does not have a boolean value Product: D Version: D2 Hardware: All OS: All Status: NEW Keywords: ImportC, rejects-valid Severity: normal Priority: P1 Component: dmd Assignee: nobody@puremagic.com Reporter: duser@neet.fi CC: duser@neet.fi void fn() { char cs[1]; if (cs) ; } Error: expression `cs` of type `char[1]` does not have a boolean value -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply