Hi all,

I compiled tcc from the tinycc.git repository, both using gcc and tcc
itself.  I'm running tcc on windows.  I compiled 3 different versions from
the repository with the same results.  I found that the code below doesn't
compile with these mob versions but it does compile with the official 0.9.25
release and with gcc.  The error I get is
*a.c:11: error: ';' expected (got ".Luid")*.  I hope someone can point my
mistake or confirm this as a bug.

Thank you for your attention and my best regards,

--Gustavo

#include <windows.h>

int main(void){
        TOKEN_PRIVILEGES tp;

        printf("sizeof tp: %d\n",sizeof(tp));

        tp.PrivilegeCount=1;
        tp.Privileges[0].Luid.LowPart=1;
        tp.Privileges[0].Luid.HighPart=2;
        tp.Privileges[0].Attributes=3;

        return(0);
}
_______________________________________________
Tinycc-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to