This is the mail archive of the
mailing list for the GCC project.
Re: error: forward declaration of `struct bit::bitObject'
- From: John Love-Jensen <eljay at adobe dot com>
- To: Roel Bindels <Roel dot Bindels at bitech-development dot nl>, MSX to GCC <gcc-help at gcc dot gnu dot org>
- Date: Mon, 17 Oct 2005 07:10:07 -0500
- Subject: Re: error: forward declaration of `struct bit::bitObject'
Your code example did not demonstrate the issue that you are experiencing.
(Nor was it complete enough to intuit the issue.)
Could you provide a small code snippet that produces the issue?
Otherwise, my best guess is that you are trying to forward declare 'struct
bit::bitObject', or you are using 'bit::bitObject' in a way that a forward
declaration is insufficient and a full declaration is required (for
instance: as a parameter, return value, or stack object).