[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ns] incomplete type(?)
you should use
TTT *ttt;
instead of
TTT ttt;
if you define TTT in other files or below.
Sencun
On Sat, 8 Sep 2001, Jingwen Jin wrote:
>
> Hi,
>
> I'm doing something like:
>
> class TTT;
>
> class ProxyAgent : public Agent {
> ...
> TTT ttt;
> ...
> }
>
>
> However, the compilation complains that "field ttt has incomplete type".
> Before adding "TTT ttt", eveything was ok. Does anybody know what's going
> on?
>
> Thanks,
>
> Jingwen
>
>