[mythtv-users] Broken Compile - Arch Linux (Ambiguous operator overload)

Stuart Auchterlonie stuarta at squashedfrog.net
Mon Feb 27 00:51:25 UTC 2017


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
> 



More information about the mythtv-users mailing list