[ardour-dev] ardour 0.9beta11 released

torbenh at informatik.uni-bremen.de torbenh at informatik.uni-bremen.de
Mon Mar 1 00:34:34 PST 2004


On Sun, Feb 29, 2004 at 09:19:34PM -0600, Jan Depner wrote:
> One more:
> 
> 
> canvas-waveview.c: In function `gtk_canvas_waveview_ensure_cache':
> canvas-waveview.c:378: parse error before `float'
> canvas-waveview.c:383: `gain' undeclared (first use in this function)
> canvas-waveview.c:383: (Each undeclared identifier is reported only once
> canvas-waveview.c:383: for each function it appears in.)
> make[3]: *** [canvas-waveview.o] Error 1
> make[3]: Leaving directory `/data2/sound/ardour-0.9beta11/gtk_ardour'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/data2/sound/ardour-0.9beta11/gtk_ardour'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/data2/sound/ardour-0.9beta11/gtk_ardour'
> make: *** [all-recursive] Error 1
> 
> 
> 	The problem here is that apparently gcc 2.9X wants you to define your
> variables before any lines of code (in C not C++).  I changed:

you could try the -std=c89 option or -ansi.
(but these modes dont recognize c++ comments // )

this way gcc 3.x will not accept c99 variable declarations.

man gcc and search for C99. There you can find the possible options.


-- 
torben Hohn
http://galan.sourceforge.net -- The graphical Audio language



More information about the Ardour-Dev mailing list