<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">Hi,<br>
      <br>
      Am 08.09.22 um 16:40 schrieb Phil Thompson:<br>
    </div>
    <blockquote type="cite"
      cite="mid:41dd4d240bace06b96b05d0729d53f46@riverbankcomputing.com">The
      current SIP v6.7.0 snapshot is the next stage of migrating SIP to
      a pure Python implementation. As with the replacement of the old
      parser in v6.6.0...
      <br>
      <br>
      - the new code is slower (for now)
      <br>
      - error reporting is improved
      <br>
      - the generated code should be identical to that generated by
      earlier versions
      <br>
      - it builds PyQt correctly but PyQt does not use all the
      functionality.
      <br>
      <br>
      Other projects that use SIP (eg. wxPython, QGIS) should test and
      report problems.
      <br>
    </blockquote>
    <br>
    I didn't have the time to test the pre-release snapshots, but I am
    now updating SIP from 6.6.2 to 6.7.1 for openSUSE Tumbleweed.
    Acceptance into the distribtution is not possible right now, because
    it fails to build wxPython:<br>
    <br>
    <font face="monospace">[ 1420s]
      ../../../../sip/cpp/sip_core_ScrolledWindowBase.cpp: In member
      function ‘bool
      sip_ScrolledWindowBase::sipProtectVirt_ProcessEvent(bool,
      wxEvent&)’:<br>
      [ 1420s]
      ../../../../sip/cpp/sip_core_ScrolledWindowBase.cpp:837:62: error:
      cannot call member function ‘virtual bool
      wxEvtHandler::ProcessEvent(wxEvent&)’ without object<br>
      [ 1420s]   837 |     return (sipSelfWasArg ? 
      ::wxScrolledCanvas::ProcessEvent(event) : ProcessEvent(event));<br>
      [ 1420s]       |                             
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~<br>
      [ 1420s] ../../../../sip/cpp/sip_core_ScrolledWindowBase.cpp: In
      member function ‘void
      sip_ScrolledWindowBase::sipProtectVirt_DoEnable(bool, bool)’:<br>
      [ 1420s]
      ../../../../sip/cpp/sip_core_ScrolledWindowBase.cpp:842:51: error:
      cannot call member function ‘virtual void
      wxWindow::DoEnable(bool)’ without object<br>
      [ 1420s]   842 |     (sipSelfWasArg ? 
      ::wxScrolledCanvas::DoEnable(enable) : DoEnable(enable));<br>
      [ 1420s]       |                      
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~<br>
      [ 1420s] ../../../../sip/cpp/sip_core_ScrolledWindowBase.cpp: In
      member function ‘void
      sip_ScrolledWindowBase::sipProtectVirt_DoGetPosition(bool, int*,
      int*) const’:<br>
      [ 1420s]
      ../../../../sip/cpp/sip_core_ScrolledWindowBase.cpp:847:56: error:
      cannot call member function ‘virtual void
      wxWindow::DoGetPosition(int*, int*) const’ without object<br>
      [ 1420s]   847 |     (sipSelfWasArg ? 
      ::wxScrolledCanvas::DoGetPosition(x,y) : DoGetPosition(x,y));<br>
      [ 1420s]       |                      
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~<br>
      [ 1420s] ../../../../sip/cpp/sip_core_ScrolledWindowBase.cpp: In
      member function ‘void
      sip_ScrolledWindowBase::sipProtectVirt_DoGetSize(bool, int*, int*)
      const’:<br>
      [ 1420s]
      ../../../../sip/cpp/sip_core_ScrolledWindowBase.cpp:852:52: error:
      cannot call member function ‘virtual void
      wxWindow::DoGetSize(int*, int*) const’ without object<br>
      [ 1420s]   852 |     (sipSelfWasArg ? 
      ::wxScrolledCanvas::DoGetSize(width,height) :
      DoGetSize(width,height));<br>
      [ 1420s]       |                      
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~<br>
      ...<br>
      and so on.<br>
    </font><br>
    The full failing build log can be found here: <span
      style="font-family:monospace"><span
        style="color:#000000;background-color:#ffffff;"><a class="moz-txt-link-freetext" href="https://paste.opensuse.org/63871699">https://paste.opensuse.org/63871699</a></span></span><br>
    <br>
    The diff for the failing generated cpp code is here: <span
      style="font-family:monospace"><span style="font-family:monospace"><span
          style="color:#000000;background-color:#ffffff;"><a class="moz-txt-link-freetext" href="https://paste.opensuse.org/71620253">https://paste.opensuse.org/71620253</a></span><br>
      </span><br>
    </span>The etg-generated .sip code is here:
    <a class="moz-txt-link-freetext" href="https://cloud.bnavigator.de/index.php/s/EL3ZmGqHgwWdiJ5">https://cloud.bnavigator.de/index.php/s/EL3ZmGqHgwWdiJ5</a>, differing
    slightly from those shipped with the wxPython 4.2.0 sdist on PyPI.<br>
    <br>
    Regards, Ben<br>
    <br>
    P.S.: QGIS successfully builds with the new SIP.<br>
    <br>
  </body>
</html>