Bug 24506 – importC: illegal combination of type specifiers __extension__ typedef long long

Status
RESOLVED
Resolution
INVALID
Severity
major
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2024-04-15T17:51:26Z
Last change time
2024-04-15T18:20:44Z
Assigned to
No Owner
Creator
feklushkin.denis

Comments

Comment #0 by feklushkin.denis — 2024-04-15T17:51:26Z
For included files *.i which contain line like: __extension__ typedef long long off64_t; Compiler (dmd and ldc2) returns: Error: illegal combination of type specifiers I heard what GCC extensions isn't supported by importC, but also I see what __extension__ is mentioned in importc.h so maybe it can be fixed
Comment #1 by feklushkin.denis — 2024-04-15T18:20:44Z
I mixed up a separate preprocessor and importC facility importC isn't supports any extensions, but internal preprocessor does. Preprocessor should be called for each file manually.