If a struct is only used in one function, can I declare it in that function? Can I do this:
int func()
{
struct {
int a, b;
} s;
s.a=5;
return s.a;
}
gcc choked on it, but it emitted a very weird looking error that I couldn't understand instead of saying "Sorry, you can't do that".