Re: Typedef or not



Ben Bacarisse <ben.usenet@xxxxxxxxx> writes:

On Tue, 28 Feb 2006 17:59:39 +0530, Ravi Uday wrote:



Ronny Mandal wrote:
Consider these two:

Typedef struct { int foo, int bar } FooBar;
^^^ - added

You corrected a non-error ("int a, b" is fine although "int a, b;" is
preferred) and did not correct the error (Typedef != typedef).

Actually, the semicolon is required, even in C99.

Also, Ravi: please avoid using tab characters: the quoting prefixes
have now skewed your post.
.



Relevant Pages