Hello, struct a1 { int x; };
struct a2 { int x; }; struct b { // ambiguous int y; struct a1; struct a2; } p1; struct c { // ambiguous int x; struct a1; } p2; int main() { p1 = (struct b){ 1, 2, 3}; p2 = (struct c){ 1, 2}; } These ambiguous anon structs compile without error. A compiler error message would make debugging much easier. _______________________________________________ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel