[Issue 22496] New: importC: Error: illegal combination of type specifiers
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Nov 9 15:10:51 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=22496
Issue ID: 22496
Summary: importC: Error: illegal combination of type specifiers
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: normal
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: bachmeil at yahoo.com
Created attachment 1833
--> https://issues.dlang.org/attachment.cgi?id=1833&action=edit
Source file I'm trying to compile
I ran the original source file through the gcc preprocessor and got the
attached fsign_d.c file. It compiles with gcc:
gcc -c fsign_d.c
but when using dmd:
dmd -c fsign_d.c
/usr/include/x86_64-linux-gnu/bits/mathcalls.h(316): Error: illegal combination
of type specifiers
/usr/include/x86_64-linux-gnu/bits/mathcalls.h(316): Error: illegal combination
of type specifiers
/usr/include/x86_64-linux-gnu/bits/mathcalls.h(316): Error: illegal combination
of type specifiers
/usr/include/x86_64-linux-gnu/bits/mathcalls.h(322): Error: illegal combination
of type specifiers
/usr/include/x86_64-linux-gnu/bits/mathcalls.h(322): Error: illegal combination
of type specifiers
/usr/include/x86_64-linux-gnu/bits/mathcalls.h(322): Error: illegal combination
of type specifiers
/usr/include/x86_64-linux-gnu/bits/mathcalls.h(316): Error: illegal combination
of type specifiers
/usr/include/x86_64-linux-gnu/bits/mathcalls.h(316): Error: illegal combination
of type specifiers
/usr/include/x86_64-linux-gnu/bits/mathcalls.h(316): Error: illegal combination
of type specifiers
/usr/include/x86_64-linux-gnu/bits/mathcalls.h(322): Error: illegal combination
of type specifiers
/usr/include/x86_64-linux-gnu/bits/mathcalls.h(322): Error: illegal combination
of type specifiers
/usr/include/x86_64-linux-gnu/bits/mathcalls.h(322): Error: illegal combination
of type specifiers
/usr/include/x86_64-linux-gnu/bits/mathcalls.h(316): Error: illegal combination
of type specifiers
/usr/include/x86_64-linux-gnu/bits/mathcalls.h(316): Error: illegal combination
of type specifiers
/usr/include/x86_64-linux-gnu/bits/mathcalls.h(316): Error: illegal combination
of type specifiers
/usr/include/x86_64-linux-gnu/bits/mathcalls.h(322): Error: illegal combination
of type specifiers
/usr/include/x86_64-linux-gnu/bits/mathcalls.h(322): Error: illegal combination
of type specifiers
/usr/include/x86_64-linux-gnu/bits/mathcalls.h(322): Error: illegal combination
of type specifiers
/usr/include/string.h(43): Error: found `__dest` when expecting `,`
/usr/include/string.h(43): Error: found `__src` when expecting `,`
--
More information about the Digitalmars-d-bugs
mailing list