March 27 [Issue 24455] New: [ImportC] va_arg fails in working C code | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=24455 Issue ID: 24455 Summary: [ImportC] va_arg fails in working C code Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: normal Priority: P1 Component: dmd Assignee: nobody@puremagic.com Reporter: lance@lancebachmeier.com I'm compiling a working and well-tested C library. This fails: gretl_matrix_block *gretl_matrix_block_new (gretl_matrix **pm, ...) { va_list ap; va_start(ap, pm); va_arg(ap, int); Results in Error: template `va_arg` is not callable using argument types `!(int)(__va_list_tag*)` #defines(521): Candidate is: `va_arg(__MP314, __MP315)(__MP314 v, __MP315 l)` -- |
Copyright © 1999-2021 by the D Language Foundation