[MacPorts] #69460: Scribus-devel now broken on Sonoma: error: invalid operands to binary expression ('Type' and 'int')

MacPorts noreply at macports.org
Fri Mar 8 07:06:10 UTC 2024


#69460: Scribus-devel now broken on Sonoma: error: invalid operands to binary
expression ('Type' and 'int')
--------------------------+---------------------------
 Reporter:  barracuda156  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.9.1
 Keywords:  sonoma        |       Port:  scribus-devel
--------------------------+---------------------------
 {{{
   /opt/local/var/macports/build/_Users_runner_work_macports-
 ports_macports-ports_ports_print_scribus-devel/scribus-
 devel/work/scribus-1.5.8/scribus/plugins/import/pdf/slaoutput.cpp:1730:22:
 error: invalid operands to binary expression ('Type' and 'int')
           if (func->getType() == 3)
               ~~~~~~~~~~~~~~~ ^  ~
   /opt/local/libexec/qt5/lib/QtCore.framework/Headers/qpair.h:113:41:
 note: candidate template ignored: could not match 'QPair<T1, T2>' against
 'Type'
   Q_DECL_CONSTEXPR Q_INLINE_TEMPLATE bool operator==(const QPair<T1, T2>
 &p1, const QPair<T1, T2> &p2)
                                           ^
 /opt/local/libexec/qt5/lib/QtCore.framework/Headers/qscopedpointer.h:184:13:
 note: candidate template ignored: could not match 'QScopedPointer<T,
 Cleanup>' against 'Type'
   inline bool operator==(const QScopedPointer<T, Cleanup> &lhs, const
 QScopedPointer<T, Cleanup> &rhs) noexcept
               ^
 /opt/local/libexec/qt5/lib/QtCore.framework/Headers/qscopedpointer.h:196:13:
 note: candidate template ignored: could not match 'QScopedPointer<T,
 Cleanup>' against 'Type'
   inline bool operator==(const QScopedPointer<T, Cleanup> &lhs,
 std::nullptr_t) noexcept
               ^
 /opt/local/libexec/qt5/lib/QtCore.framework/Headers/qscopedpointer.h:202:13:
 note: candidate template ignored: could not match 'QScopedPointer<T,
 Cleanup>' against 'int'
   inline bool operator==(std::nullptr_t, const QScopedPointer<T, Cleanup>
 &rhs) noexcept
               ^
 /opt/local/libexec/qt5/lib/QtCore.framework/Headers/qvarlengtharray.h:562:6:
 note: candidate template ignored: could not match 'QVarLengthArray<T,
 Prealloc1>' against 'Type'
   bool operator==(const QVarLengthArray<T, Prealloc1> &l, const
 QVarLengthArray<T, Prealloc2> &r)
        ^
 /opt/local/libexec/qt5/lib/QtCore.framework/Headers/qshareddata.h:141:32:
 note: candidate template ignored: could not match 'QSharedDataPointer<T>'
 against 'int'
   template <class T> inline bool operator==(std::nullptr_t p1, const
 QSharedDataPointer<T> &p2)
                                  ^
 /opt/local/libexec/qt5/lib/QtCore.framework/Headers/qshareddata.h:147:32:
 note: candidate template ignored: could not match 'QSharedDataPointer<T>'
 against 'Type'
   template <class T> inline bool operator==(const QSharedDataPointer<T>
 &p1, std::nullptr_t p2)
                                  ^
 /opt/local/libexec/qt5/lib/QtCore.framework/Headers/qshareddata.h:287:32:
 note: candidate template ignored: could not match
 'QExplicitlySharedDataPointer<T>' against 'int'
   template <class T> inline bool operator==(std::nullptr_t p1, const
 QExplicitlySharedDataPointer<T> &p2)
                                  ^
 /opt/local/libexec/qt5/lib/QtCore.framework/Headers/qshareddata.h:293:32:
 note: candidate template ignored: could not match
 'QExplicitlySharedDataPointer<T>' against 'Type'
   template <class T> inline bool operator==(const
 QExplicitlySharedDataPointer<T> &p1, std::nullptr_t p2)
                                  ^
 /opt/local/libexec/qt5/lib/QtCore.framework/Headers/qsharedpointer_impl.h:753:6:
 note: candidate template ignored: could not match 'QSharedPointer<T>'
 against 'Type'
   bool operator==(const QSharedPointer<T> &ptr1, const QSharedPointer<X>
 &ptr2) noexcept
        ^
 /opt/local/libexec/qt5/lib/QtCore.framework/Headers/qsharedpointer_impl.h:764:6:
 note: candidate template ignored: could not match 'QSharedPointer<T>'
 against 'Type'
   bool operator==(const QSharedPointer<T> &ptr1, const X *ptr2) noexcept
        ^
 /opt/local/libexec/qt5/lib/QtCore.framework/Headers/qsharedpointer_impl.h:769:6:
 note: candidate template ignored: could not match 'const T *' against
 'Type'
   bool operator==(const T *ptr1, const QSharedPointer<X> &ptr2) noexcept
        ^
 /opt/local/libexec/qt5/lib/QtCore.framework/Headers/qsharedpointer_impl.h:785:6:
 note: candidate template ignored: could not match 'QSharedPointer<T>'
 against 'Type'
   bool operator==(const QSharedPointer<T> &ptr1, const QWeakPointer<X>
 &ptr2) noexcept
        ^
 /opt/local/libexec/qt5/lib/QtCore.framework/Headers/qsharedpointer_impl.h:796:13:
 note: candidate template ignored: could not match 'QSharedPointer<T>'
 against 'Type'
   inline bool operator==(const QSharedPointer<T> &lhs, std::nullptr_t)
 noexcept
               ^
 . . .
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/69460>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list