Thread overview | |||||||||
---|---|---|---|---|---|---|---|---|---|
|
February 12, 2023 [Issue 23690] compilable/cimports2.i:1:1: error: unknown type name '__import' | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23690 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |accepts-invalid, ImportC Depends on| |23689 Referenced Issues: https://issues.dlang.org/show_bug.cgi?id=23689 [Issue 23689] ImportC: C tests in the testsuite are not valid C -- |
February 12, 2023 [Issue 23690] compilable/cimports2.i:1:1: error: unknown type name '__import' | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23690 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ibuclaw@gdcproject.org See Also| |https://issues.dlang.org/sh | |ow_bug.cgi?id=23689 -- |
February 12, 2023 [Issue 23690] compilable/cimports2.i:1:1: error: unknown type name '__import' | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23690 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|ibuclaw@gdcproject.org | -- |
February 12, 2023 [Issue 23690] compilable/cimports2.i:1:1: error: unknown type name '__import' | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23690 --- Comment #1 from Iain Buclaw <ibuclaw@gdcproject.org> --- Original source content: ``` __import imports.cimports2a; __import imports.cimports2b; int *p = &xx; ``` -- |
February 12, 2023 [Issue 23690] compilable/cimports2.i:1:1: error: unknown type name '__import' | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23690 --- Comment #2 from Iain Buclaw <ibuclaw@gdcproject.org> --- Another failing test in compilable/cimport.c compilable/cimport.c:3:1: error: unknown type name ‘__import’ 3 | __import core.stdc.stdarg; | ^~~~~~~~ compilable/cimport.c:3:14: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘.’ token 3 | __import core.stdc.stdarg; | ^ compilable/cimport.c:4:1: error: unknown type name ‘__import’ 4 | __import imports.impcimport; | ^~~~~~~~ compilable/cimport.c:4:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘.’ token 4 | __import imports.impcimport; | ^ compilable/cimport.c: In function ‘foo’: compilable/cimport.c:8:5: error: unknown type name ‘va_list’ 8 | va_list x; | ^~~~~~~ compilable/cimport.c:1:1: note: ‘va_list’ is defined in header ‘<stdarg.h>’; did you forget to ‘#include <stdarg.h>’? +++ |+#include <stdarg.h> 1 | // https://issues.dlang.org/show_bug.cgi?id=22666 compilable/cimport.c:9:16: error: ‘A’ undeclared (first use in this function) 9 | return 1 + A; | ^ compilable/cimport.c:9:16: note: each undeclared identifier is reported only once for each function it appears in Original test content: ``` // https://issues.dlang.org/show_bug.cgi?id=22666 __import core.stdc.stdarg; __import imports.impcimport; int foo() { va_list x; return 1 + A; } ``` -- |
February 15, 2023 [Issue 23690] compilable/cimports2.i:1:1: error: unknown type name '__import' | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23690 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |ibuclaw@gdcproject.org Resolution|--- |WONTFIX --- Comment #3 from Iain Buclaw <ibuclaw@gdcproject.org> --- This is an ImportC extension to the C language, and has been documented on the dlang.org pages here. https://dlang.org/spec/importc.html#__import -- |
December 15, 2023 [Issue 23690] compilable/cimports2.i:1:1: error: unknown type name '__import' | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23690 Issue 23690 depends on issue 23689, which changed state. Issue 23689 Summary: ImportC: C tests in the testsuite are not valid C https://issues.dlang.org/show_bug.cgi?id=23689 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED -- |
Copyright © 1999-2021 by the D Language Foundation