[Freeciv-Dev] Re: (PR#6836) civworld compilation warning
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=6836 >
On Tue, Nov 11, 2003 at 03:19:04PM -0800, Mike Kaufman wrote:
>
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=6836 >
>
> On Tue, Nov 11, 2003 at 02:33:17PM -0800, Jason Short wrote:
> >
> > <URL: http://rt.freeciv.org/Ticket/Display.html?id=6836 >
> >
> > I applied the civworld patch to S1_14 and:
> >
> > ../client/climisc.h:29: warning: `struct unit' declared inside parameter
> > list
> > ../client/climisc.h:29: warning: its scope is only this definition or
> > declaration, which is probably not what you want
> >
> > Probably just a missing #include.
>
> If I recall, this is an oversight in freeciv, not civworld. Normally other
> include files have:
>
> struct unit;
>
> which climisc.h references in freeciv but not civworld.
climisc.h has the "struct unit;" in line 22. I suspect that civworld
somehow removes this line.
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
"The BeOS takes the best features from the major operating systems.
It's got the power and flexibility of Unix, the interface and ease
of use of the MacOS, and Minesweeper from Windows."
|
|