[Bug 262219] x11-toolkits/py-wxPython4: build fail

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 27 Feb 2022 03:03:33 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262219

            Bug ID: 262219
           Summary: x11-toolkits/py-wxPython4: build fail
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: python@FreeBSD.org
          Reporter: rozhuk.im@gmail.com
          Assignee: python@FreeBSD.org
             Flags: maintainer-feedback?(python@FreeBSD.org)

...
In file included from ../../../../sip/cpp/sip_corecmodule.cpp:10:
In file included from ../../../../sip/cpp/sipAPI_core.h:20845:
In file included from ../../../../wx/include/wxPython/wxpy_api.h:41:
In file included from /usr/local/include/wx-3.1/wx/wx.h:15:
In file included from /usr/local/include/wx-3.1/wx/object.h:19:
In file included from /usr/local/include/wx-3.1/wx/memory.h:15:
/usr/local/include/wx-3.1/wx/string.h:561:7: warning: unknown warning group
'-Wunsafe-loop-optimizations', ignored [-Wunknown-warning-option]
      wxGCC_ONLY_WARNING_SUPPRESS(unsafe-loop-optimizations)
      ^
/usr/local/include/wx-3.1/wx/defs.h:680:43: note: expanded from macro
'wxGCC_ONLY_WARNING_SUPPRESS'
#   define wxGCC_ONLY_WARNING_SUPPRESS(x) wxGCC_WARNING_SUPPRESS(x)
                                          ^
/usr/local/include/wx-3.1/wx/defs.h:668:9: note: expanded from macro
'wxGCC_WARNING_SUPPRESS'
        _Pragma (wxSTRINGIZE(GCC diagnostic ignored
wxSTRINGIZE(wxCONCAT(-W,x))))
        ^
<scratch space>:91:25: note: expanded from here
 GCC diagnostic ignored "-Wunsafe-loop-optimizations"
                        ^
../../../../sip/cpp/sip_corecmodule.cpp:7637:2: error: wxString conversion can
only handle WCHAR wxStrings currently
#error wxString conversion can only handle WCHAR wxStrings currently
 ^
1 warning and 1 error generated.
...

-- 
You are receiving this mail because:
You are the assignee for the bug.