wgtdkp / wgtcc

A small C11 compiler

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

error: complex not supported yet

huangguiyang opened this issue · comments

commented
struct S {
    unsigned a:3;
    signed b:3;
    int c:3;
};

error: complex not supported yet

把 signed b:3 改成 signed int b:3 则通过。

fixed: a978f1f
caused by a small bug in converting type specifier to tag of arithmetic type.
test cases for this: 390168e

thanks : )