Welcome to GCC 4!

It's not the array size that's the problem, it's the fact that it's
trying to use clan_type, flag_type, etc. before they're defined.

You know all of those delcarations it complained about?  Yeah, those. 
Move them down to the bottom of the file, after all the structure
definitions.  Then it'll compile.

--Mike

On 2/10/06, Jesse <[EMAIL PROTECTED]> wrote:
>
> Hello folks,
>
> I'm attempting to compile Rom2.4b6 on Fedora Core 4.
>
> At compile time the following error appears a number of times:
>
> Error:  array type has incomplete element type
>
> Every line it complains about is something similar to:
>
> extern const struct flag_type    apply_types[];
>
> I take it that the compiler is warning me that the array size is not being
> defined at the time of its declaration, thus causing compiler complaints and
> an eventual failed compile.
>
> When I attempt the same compile on Redhat (any version), the compile is
> clean.
>
> My question then, is: How can I set my compiler to stop complaining about
> the incomplete element type?  Is there a flag I can set in the Makefile?
>
> Your help is appreciated.
>
> TIA
>
> -Jesse
>
>
> --
> ROM mailing list
> [email protected]
> Unsubscribe here ->>> http://www.rom.org/cgi-bin/mailman/listinfo/rom
>
--
ROM mailing list
[email protected]
Unsubscribe here ->>> http://www.rom.org/cgi-bin/mailman/listinfo/rom

Reply via email to