[mythtv] compiling mythtv (latest cvs) with gcc 3.1

Isaac Richards mythtv-dev@snowman.net
Wed, 7 Aug 2002 19:22:21 -0400


On Wednesday 07 August 2002 07:02 pm, Chris Kleeschulte wrote:
> I was compiling mythtv with gcc 3.1:
>
<snip>
>
> and I got this from the compiler:
>
<snip>
>
>
> How can I fix this?

Edit the .cpp file, and on line 12, remove the '= 0' part of each argument.  
My mistake for cutting and pasting from the header files.  Seems like g++3.1 
doesn't like default arguments defined in multiple places.  You'll have to 
make similar changes in a couple other files...  I'll commit a fix to CVS in 
a bit (I've got some things to finish in the new menu code first), if you 
want to wait.

Isaac