Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2003:
[Freeciv-Dev] Re: (PR#6836) civworld compilation warning
Home

[Freeciv-Dev] Re: (PR#6836) civworld compilation warning

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: jdorje@xxxxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#6836) civworld compilation warning
From: "Mike Kaufman" <kaufman@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 11 Nov 2003 15:19:04 -0800
Reply-to: rt@xxxxxxxxxxx

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

-mike




[Prev in Thread] Current Thread [Next in Thread]