[Alsaplayer-devel]Won't compile with gcc-3.0

Patrick Shirkey pshirkey@boosthardware.com
Thu, 26 Jul 2001 06:45:46 +0900


I got a new alsa, kernel and gcc and now it works the best I've heard it
yet.

Only thing is I haven't recompiled alsaplayer because it won't accept
gcc-3.0

It really sounds clearer than xmms. It's quite incredible how good it is
sounding compared to just a couple of weeks ago. 

The problems I thought I had created by adding the loop function seem to
have dissapeared. I was getting a wierd effect on the position indicator
for a little while. After the first loop it would not redraw itself
while the bar was moving or else it did it sporadically. That seems to
have dissapeared.

I have been looking at the code for gnoise and they are using some
useful tools with gtk so I'll see if I can start adding some toggle
buttons to a preferences box. 

I can't quite remember if I spotted one that had already been started or
not. Can anyone refresh my memory?


Here's what I get if I try to compile at the moment.
-----------

In file included from ../include/utilities.h:22,
                 from gtk_interface.cpp:30:
../include/cpp_utilities.h:26: parse error before `&' token
../include/cpp_utilities.h:29: parse error before `)' token
In file included from PlaylistWindow.h:21,
                 from gtk_interface.cpp:52:
Playlist.h:34: parse error before `filename_new'
Playlist.h:37: ISO C++ forbids defining types within return type
Playlist.h:37: syntax error before `;' token
Playlist.h:57: `vector' was not declared in this scope
Playlist.h:57: parse error before `>' token
Playlist.h:87: 'vector' is used as a type, but is not defined as a type.
Playlist.h:90: 'set' is used as a type, but is not defined as a type.
Playlist.h:95: `string' was not declared in this scope
Playlist.h:95: parse error before `const'
Playlist.h:111: `vector' was not declared in this scope
Playlist.h:111: `string' was not declared in this scope
Playlist.h:111: parse error before `&' token
Playlist.h:114: `string' was not declared in this scope
Playlist.h:114: parse error before `const'
Playlist.h:114: `void Playlist::Insert(...)' has already been declared
in 
   `Playlist'
Playlist.h:118: `vector' was not declared in this scope
Playlist.h:118: `string' was not declared in this scope
Playlist.h:118: parse error before `&' token
Playlist.h:121: `string' was not declared in this scope
Playlist.h:121: parse error before `const'
Playlist.h:121: `void Playlist::AddAndPlay(...)' has already been
declared in 
   `Playlist'
Playlist.h:134: `string' was not declared in this scope
Playlist.h:134: parse error before `)' token
Playlist.h:134: invalid data member initialization
Playlist.h:134: (use `=' to initialize static data members)
Playlist.h:137: `string' was not declared in this scope
Playlist.h:137: parse error before `const'
Playlist.h:146: `string' was not declared in this scope
Playlist.h:146: parse error before `const'
Playlist.h: In member function `void Playlist::Insert(...)':
Playlist.h:147: `vector' undeclared (first use this function)
Playlist.h:147: (Each undeclared identifier is reported only once for
each 
   function it appears in.)
Playlist.h:147: `string' undeclared (first use this function)
Playlist.h:147: `items' undeclared (first use this function)
Playlist.h:148: `path' undeclared (first use this function)
Playlist.h:149: `pos' undeclared (first use this function)
Playlist.h: At global scope:
Playlist.h:152: parse error before `const'
In file included from gtk_interface.cpp:52:
PlaylistWindow.h:41: parse error before `>' token
PlaylistWindow.h:46: `string' was not declared in this scope
PlaylistWindow.h:46: parse error before `)' token
gtk_interface.cpp: In function `void play_file_ok(GtkWidget*, void*)':
gtk_interface.cpp:832: `paths' undeclared (first use this function)
gtk_interface.cpp:844: `sort' undeclared (first use this function)
gtk_interface.cpp: In function `void init_main_window(CorePlayer*)':
gtk_interface.cpp:1316: parse error before `/' token
make[3]: *** [gtk_interface.o] Error 1
make[3]: Leaving directory `/usr/local/alsa/alsaplayer-0.99.33-pre3/app'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/alsa/alsaplayer-0.99.33-pre3/app'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/alsa/alsaplayer-0.99.33-pre3'
make: *** [all-recursive-am] Error 2

-----------
-- 
Patrick Shirkey - Manager Boost Hardware.
Importing Korean Computer Products to New Zealand.
Http://www.boosthardware.com - Cool toys to fufill every geeks fantasy.