This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: error: forward declaration of `struct bit::bitObject'


Hi Roel,

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).

Thanks,
--Eljay


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]