Re: memset doubt
- From: Keith Thompson <kst-u@xxxxxxx>
- Date: Wed, 31 Aug 2005 06:36:39 GMT
Barry Schwarz <schwarzb@xxxxxxxxx> writes:
> On 30 Aug 2005 22:43:54 -0700, "srivatsan_b" <srivatsanbs@xxxxxxxxx>
> wrote:
[...]
> The only problem with your final question is that for C89 compilers
> the cast must include the keyword struct. The use of the structure
> tag without the keyword did not become standard until C99 and there
> are very few compilers of that grade in use.
No, a declaration of "struct foo" doesn't make just "foo" visible as a
type name in either C89 or C99. (It does in C++.)
--
Keith Thompson (The_Other_Keith) kst-u@xxxxxxx <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.
.
- References:
- memset doubt
- From: srivatsan_b
- Re: memset doubt
- From: Barry Schwarz
- memset doubt
- Prev by Date: Re: memset doubt
- Next by Date: Re: Why C/C++ errors are SO obscure/devious??
- Previous by thread: Re: memset doubt
- Index(es):