Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2004:
[Freeciv-Dev] (PR#9490) Patch: Background "mood" music
Home

[Freeciv-Dev] (PR#9490) Patch: Background "mood" music

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: akaquinn@xxxxxxxxxxx
Subject: [Freeciv-Dev] (PR#9490) Patch: Background "mood" music
From: "Mateusz Stefek" <mstefek@xxxxxxxxx>
Date: Sat, 24 Jul 2004 14:32:55 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=9490 >

Dnia 2004-07-24 18:59:07, Gregory Richards napisał(a):
> 
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=9490 >
> 
> > I get error with you patch:
> > patch: **** malformed patch at line 5: /
> 
> I remade the patch - I sort of messed with that previous one, this  
> one
> 
> is straight out of diff.  I'm still not sure what was wrong with that
> last one, but . . .
> 
>
In file included from ../options.h:18,
                from ../tilespec.h:23,
                from ../mapview_common.h:22,
                from graphics.h:19,
                from gtkpixcomm.h:32,
                from gui_main.h:18,
                from chatline.c:31:
../audio.h:49: warning: `struct client_option' declared inside  
parameter list
../audio.h:49: warning: its scope is only this definition or  
declaration, which is probably not what you want

It happens because you unnecessarly include audio.h in options.h


audio.c: In function `mood_music':
audio.c:452: warning: unused variable `cplayer'
audio.c:453: warning: unused variable `punit'

Every warning is an error in Freeciv!!!
--
mateusz







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