https://issues.dlang.org/show_bug.cgi?id=23702
Issue 23702 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
https://issues.dlang.org/show_bug.cgi?id=23702
Walter Bright changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://issues.dlang.org/show_bug.cgi?id=23702
--- Comment #5 from Walter Bright ---
importc.h has the following lines in it:
#undef __has_extension
#define __has_extension(x) 0
so:
#if __has_extension(gnu_asm)
should become:
#if 0
I don't know what is going wrong here.
https://issues.dlang.org/show_bug.cgi?id=23702
Iain Buclaw changed:
What|Removed |Added
Priority|P1 |P2
--
https://issues.dlang.org/show_bug.cgi?id=23702
--- Comment #4 from Iain Buclaw ---
(In reply to Walter Bright from comment #3)
> __has_extension is yet another C compiler extension (not ImportC's
> invention).
It's not GCC's invention either. Whose it is? It should be documented on the
ImportC
https://issues.dlang.org/show_bug.cgi?id=23702
--- Comment #3 from Walter Bright ---
__has_extension is yet another C compiler extension (not ImportC's invention).
--
https://issues.dlang.org/show_bug.cgi?id=23702
Iain Buclaw changed:
What|Removed |Added
CC||ibuc...@gdcproject.org
--- Comment #2 from
https://issues.dlang.org/show_bug.cgi?id=23702
Walter Bright changed:
What|Removed |Added
CC||bugzi...@digitalmars.com
--- Comment #1
https://issues.dlang.org/show_bug.cgi?id=23702
Iain Buclaw changed:
What|Removed |Added
Keywords||accepts-invalid, ImportC
See Also|