Mailing List Archive

gcc 3.1 question::playbackbox.cpp::mythmusic
I am using gcc 3.1. Is there a way to fix this? I am trying to compile mythmusic release 0.4 w/ gcc 3.1.

____________________________________________________________
playbackbox.cpp: In member function `void PlaybackBox::editPlaylist()':
playbackbox.cpp:710: no match for `Metadata& != Metadata&' operator
/usr/local/qt/include/qcstring.h:299: candidates are: bool operator!=(const
QCString&, const QCString&)
/usr/local/qt/include/qcstring.h:302: bool operator!=(const
QCString&, const char*)
/usr/local/qt/include/qcstring.h:305: bool operator!=(const
char*, const QCString&)
/usr/local/qt/include/qstring.h:306: bool operator!=(QChar,
QChar)
/usr/local/qt/include/qstring.h:311: bool operator!=(char,
QChar)
/usr/local/qt/include/qstring.h:316: bool operator!=(QChar,
char)
/usr/local/qt/include/qstring.h:828: bool operator!=(const
QString&, const QString&)
/usr/local/qt/include/qstring.h:835: bool operator!=(const
QString&, const char*)
/usr/local/qt/include/qstring.h:841: bool operator!=(const
char*, const QString&)
/usr/local/qt/include/qpoint.h:151: bool operator!=(const
QPoint&, const QPoint&)
/usr/local/qt/include/qsize.h:155: bool operator!=(const
QSize&, const QSize&)
/usr/local/qt/include/qrect.h:139: bool operator!=(const
QRect&, const QRect&)
make[1]: *** [playbackbox.o] Error 1
_____________________________________________________________

thanks!


Chris
Re: gcc 3.1 question::playbackbox.cpp::mythmusic [ In reply to ]
On Tuesday 13 August 2002 02:52 am, Chris Kleeschulte wrote:
> I am using gcc 3.1. Is there a way to fix this? I am trying to compile
> mythmusic release 0.4 w/ gcc 3.1.

Yeah, check out the very bottom of metadata.h, and make a operator!= just like
the operator==. Then, in metadata.cpp, near the top, copy the form of the
operator== function and make a !=. Should work, then. Everything should be
the same between the two, except !=s instead of ==s.

Weird, though, since it should be automatically generating the != case, if it
knows the ==.

Isaac
Re: gcc 3.1 question::playbackbox.cpp::mythmusic [ In reply to ]
thanks that worked just fine....crazy. I also had to fix a very very minor
omission in mythmusic/vorbisencoder.cpp

**the compiler couldn't find `cout'....hehe...even I could fix this one :),
I added the #include <iostream.h> to vorbisencoder.cpp....it worked after
that.


thanks,
Chris



Original Message:
-----------------
From: Isaac Richards ijr@po.cwru.edu
Date: Tue, 13 Aug 2002 09:09:41 -0400
To: mythtv-dev@snowman.net
Subject: Re: [mythtv] gcc 3.1 question::playbackbox.cpp::mythmusic


On Tuesday 13 August 2002 02:52 am, Chris Kleeschulte wrote:
> I am using gcc 3.1. Is there a way to fix this? I am trying to compile
> mythmusic release 0.4 w/ gcc 3.1.

Yeah, check out the very bottom of metadata.h, and make a operator!= just
like
the operator==. Then, in metadata.cpp, near the top, copy the form of the
operator== function and make a !=. Should work, then. Everything should
be
the same between the two, except !=s instead of ==s.

Weird, though, since it should be automatically generating the != case, if
it
knows the ==.

Isaac
_______________________________________________
mythtv-dev mailing list
mythtv-dev@snowman.net
http://www.snowman.net/mailman/listinfo/mythtv-dev

--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .