bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] CVS 020905 gtkcube.c


From: Nardy Pillards
Subject: Re: [Bug-gnubg] CVS 020905 gtkcube.c
Date: Fri, 6 Sep 2002 18:01:46 +0200

> > gtkcube.c: In function `GetContent':
> > gtkcube.c:700: too many arguments to function `OutputCubeAnalysis'
> >
> > (the line with the added 'false' argument)

> Find OutputCubeAnalysis in export.h, and add a parameter "const int
> fDisplayAlerts" at the end.

I did that.

I added #define USE_SOUND to the config.h
(after getting lots of 'undeclared's in sound.c)

(Using minGW on WinME with the makefile and config.gui/congif.h from
Oeysteyn)


But ....

now make tells me (sound.c to sound.o) :

sound.c: In function `check_dev':
sound.c:160: `uid_t' undeclared (first use in this function)
sound.c:160: (Each undeclared identifier is reported only once
sound.c:160: for each function it appears in.)
sound.c:160: parse error before `user'
sound.c:161: `gid_t' undeclared (first use in this function)
sound.c:164: warning: implicit declaration of function `getgroups'
sound.c:164: `other_groups' undeclared (first use in this function)
sound.c:168: `user' undeclared (first use in this function)
sound.c:170: `S_IWGRP' undeclared (first use in this function)
sound.c:171: `group' undeclared (first use in this function)
sound.c:178: `S_IWOTH' undeclared (first use in this function)
sound.c: In function `play_audio_file':
sound.c:205: `O_NDELAY' undeclared (first use in this function)
sound.c: In function `play_file':
sound.c:449: warning: implicit declaration of function `execvp'
sound.c:411: warning: unused variable `pid'

It's not a really big problem, because:
if I leave out 'sound.c' in the makefile, all compiles smoothly.... without
sounds though.


Nardy



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.385 / Virus Database: 217 - Release Date: 4/09/2002





reply via email to

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