|
From: | Jay Foad |
Subject: | [Tinycc-devel] spurious "cast expected" error when initialising a struct |
Date: | Mon, 31 Mar 2014 13:42:36 +0100 |
In this example I get a spurious error, but only when I elide some braces *and* put parentheses around the literal: $ cat a.c struct { struct { int i; } a; } x = { (3) }; $ ./tcc a.c a.c:6: error: cast expected Jay.
[Prev in Thread] | Current Thread | [Next in Thread] |