--- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-01
20:58 ---
If you deference or do an assignment like:
TType *a, *b;
b->Pointer = a;
You will either get an error or a warning saying the code is invalid.
Also as mentioned by JSM, it is a way to provide opaque
--- Additional Comments From joseph at codesourcery dot com 2005-04-01
20:19 ---
Subject: Re: Attempt to use undefined structure tag triggers
no diagnostic
On Fri, 1 Apr 2005, jozef dot behran at krs dot sk wrote:
> Note that the code is valid, but unusual. If you see a structure tag
--- Additional Comments From jozef dot behran at krs dot sk 2005-04-01
19:49 ---
> This is still valid code because the struct could be defined below still.
But if the struct is not defined anywhere (not even below its use), a warning
should
occur. If you send the first declaration
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-27
16:15 ---
This is still valid code because the struct could be defined below still.
For an example:
struct a
{
struct b *c;
};
struct b
{
int i;
struct a *c;
};
--
What|Removed