On Thu, May 19, 2011 at 10:03 AM, Jay Foad <[email protected]> wrote:

> >>       static struct s {
> >>               void (*elem)();
> >>       } t[] = {
> >>               { func }        /* tcc requires these braces! */
> >>       };
>
> The braces aren't required by C standards. That's why GCC *only* gives
> a warning, not an error.
>

Out of curiosity: why are they not strictly required? Because there is only
one element in the struct?

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to