This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Predeclarations of classes
- From: Ángel González <keisial at gmail dot com>
- To: Simon Lange <s dot lange at partec dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Fri, 13 Apr 2012 18:01:41 +0200
- Subject: Re: Predeclarations of classes
- References: <op.wcpgdoycq74zhu@web>
On 13/04/12 15:14, Simon Lange wrote:
>
> brings at line " //* " the error-message:
>
> "predeclaration of struct A"
>
>
> it's a simple predeclaration ? any idea ??
>
> thanks and best regards
>
> Simon
That should be perfectly legal code (no error here, either).
Maybe you simplified the code too much?