[Issue 22496] importC: Error: illegal combination of type specifiers

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Mar 30 13:02:28 UTC 2022


https://issues.dlang.org/show_bug.cgi?id=22496

--- Comment #8 from Carsten Schlote <carsten.schlote at gmx.net> ---
For everyone ending up here, due to this bug:

Using 'gcc -D_WCHAR_H -E -o output.i input.{c|h}' fixed the problem for me, as
it prevents 'wchar.h' to be included, which contained the problematic special
keywords of GCC.

Of course, this will only work, if you do not need wchar features in your
imported C sources.

--


More information about the Digitalmars-d-bugs mailing list