[mythtv-users] Broken Compile - Arch Linux (Ambiguous operator overload)
Martin Gallant
martyg at goodbit.net
Mon Feb 27 03:43:47 UTC 2017
fixes/0.28 now compiles against qt5.8. Thanks for uploading the patch.
I did a quick sanity check with the FE binary, and we seem to be in good
shape.
I will keep soaking this here until this fix gets picked up by the Arch
maintainers.
I have observed a slight regression upgrading qt5.7.1->qt5.8
On FE, Setup->Video->Playback, observe skipping forward through screens is
very slow compared to qt5.7.1
I have observed this deficiency with the official Arch package, as well as
my test builds.
On Sun, Feb 26, 2017 at 4:51 PM, Stuart Auchterlonie <
stuarta at squashedfrog.net> wrote:
> On 24/02/17 15:13, Martin Gallant wrote:
> > Oops. Arch has been on 5.8 for about a month now.
> >
> > Is there an open mythtv ticket I can use to track theses issues?
>
> Pushed fixes for this issue. Do a git pull and you should bring
> in the fix.
>
> Please let me know how you get on with this.
>
> Regards
> Stuart
>
>
> >
> > On Fri, Feb 24, 2017 at 2:35 AM, Stuart Auchterlonie
> > <stuarta at squashedfrog.net <mailto:stuarta at squashedfrog.net>> wrote:
> >
> > On 24/02/17 04:27, Martin Gallant wrote:
> > > Hello,
> > >
> > > I am trying to compile the 0.28.1 release on Arch Linux.
> > >
> > > Can anyone point me in the right direction with these errors
> > before I go
> > > into a deep dive?
> > > Looks to me like an issue with bleeding edge build tools, but
> that's
> > > just a guess.
> > >
> > > Does this look familiar to anyone?
> > >
> > > loggingserver.cpp: In member function 'virtual void
> > DBLoggerThread::run()':
> > > loggingserver.cpp:725:36: error: ambiguous overload for
> 'operator!='
> > > (operand types are 'QCharRef' and 'char')
> > > if (item->message()[0] != '\0')
> > > ~~~~~~~~~~~~~~~~~~~^~~~~~~
> > > In file included from /usr/include/qt/QtCore/qobject.h:47:0,
> > > from /usr/include/qt/QtCore/qiodevice.h:45,
> > > from /usr/include/qt/QtCore/qdatastream.h:44,
> > > from /usr/include/qt/QtGui/qregion.h:49,
> > > from /usr/include/qt/QtGui/qevent.h:45,
> > > from /usr/include/qt/QtGui/QList:1,
> > > from loggingserver.cpp:5:
> > > /usr/include/qt/QtCore/qstring.h:1639:13: note: candidate: bool
> > > operator!=(QChar, const QStringRef&)
> > > inline bool operator!=(QChar lhs, const QStringRef &rhs)
> > Q_DECL_NOTHROW
> > > { return !(lhs == rhs); }
> > > ^~~~~~~~
> > > /usr/include/qt/QtCore/qstring.h:1620:13: note: candidate: bool
> > > operator!=(QChar, const QString&)
> > > inline bool operator!=(QChar lhs, const QString &rhs)
> > Q_DECL_NOTHROW {
> > > return !(lhs == rhs); }
> > > ^~~~~~~~
> > > In file included from /usr/include/qt/QtCore/qstring.h:48:0,
> > > from /usr/include/qt/QtCore/qobject.h:47,
> > > from /usr/include/qt/QtCore/qiodevice.h:45,
> > > from /usr/include/qt/QtCore/qdatastream.h:44,
> > > from /usr/include/qt/QtGui/qregion.h:49,
> > > from /usr/include/qt/QtGui/qevent.h:45,
> > > from /usr/include/qt/QtGui/QList:1,
> > > from loggingserver.cpp:5:
> > > /usr/include/qt/QtCore/qchar.h:576:30: note: candidate: constexpr
> bool
> > > operator!=(QChar, QChar)
> > > Q_DECL_CONSTEXPR inline bool operator!=(QChar c1, QChar c2)
> > > Q_DECL_NOTHROW { return !operator==(c1, c2); }
> > > ^~~~~~~~
> > >
> >
> > What version of Qt are you trying to build against?
> >
> > You should use 5.7 at this time, we've had a report of issues with
> > 5.8.
> >
> >
> > Regards
> > Stuart
> >
> >
> > _______________________________________________
> > mythtv-users mailing list
> > mythtv-users at mythtv.org <mailto:mythtv-users at mythtv.org>
> > http://lists.mythtv.org/mailman/listinfo/mythtv-users
> > <http://lists.mythtv.org/mailman/listinfo/mythtv-users>
> > http://wiki.mythtv.org/Mailing_List_etiquette
> > <http://wiki.mythtv.org/Mailing_List_etiquette>
> > MythTV Forums: https://forum.mythtv.org
> >
> >
> >
> >
> > --
> > Marty
> >
> >
> > _______________________________________________
> > mythtv-users mailing list
> > mythtv-users at mythtv.org
> > http://lists.mythtv.org/mailman/listinfo/mythtv-users
> > http://wiki.mythtv.org/Mailing_List_etiquette
> > MythTV Forums: https://forum.mythtv.org
> >
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
>
--
Marty
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20170226/3c3d7a1a/attachment.html>
More information about the mythtv-users
mailing list