Hi all,
given the recent activity on fixing wxWidgets 3x compilation here is another error:
Commit 9d995e8
MacOS Sequoia 15.7.4
wxwidgets 3.3.2 (brew)
[ 45%] Building CXX object src/CMakeFiles/amulegui.dir/amuleDlg.cpp.o
cd /Users/matteo/ports/amule/build/src && /usr/bin/c++ -DCLIENT_GUI -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D__WXMAC__ -D__WXOSX_COCOA__ -D__WXOSX__ -DwxDEBUG_LEVEL=0 -I/Users/matteo/ports/amule/src -I/Users/matteo/ports/amule/build -I/Users/matteo/ports/amule/build/src/libs/ec/cpp -I/Users/matteo/ports/amule/src/include -I/Users/matteo/ports/amule/src/libs -isystem /usr/local/lib/wx/include/osx_cocoa-unicode-3.3 -isystem /usr/local/include/wx-3.3 -O3 -DNDEBUG -MD -MT src/CMakeFiles/amulegui.dir/amuleDlg.cpp.o -MF CMakeFiles/amulegui.dir/amuleDlg.cpp.o.d -o CMakeFiles/amulegui.dir/amuleDlg.cpp.o -c /Users/matteo/ports/amule/src/amuleDlg.cpp
/Users/matteo/ports/amule/src/amuleDlg.cpp:233:25: error: invalid operands to binary expression ('const wchar_t[4]' and 'CFormat')
233 | AddLogLineN(wxT(" - ") +
| ~~~~~~~~~~~~~~~~~~~~~~~^
234 | CFormat(_("This is aMule %s based on eMule.")) % GetMuleVersion());
/Users/matteo/ports/amule/src/Logger.h:440:92: note: expanded from macro 'AddLogLineN'
440 | #define AddLogLineN(string) theLogger.AddLogLine(TFILE, LINE, false, logStandard, string)
| ^~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__iterator/reverse_iterator.h:303:1: note: candidate template ignored: could not match 'reverse_iterator<_Iter>' against 'CFormat'
303 | operator+(typename reverse_iterator<_Iter>::difference_type __n, const reverse_iterator<_Iter>& __x) {
| ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__iterator/wrap_iter.h:228:1: note: candidate template ignored: could not match '__wrap_iter<_Iter1>' against 'CFormat'
228 | operator+(typename __wrap_iter<_Iter1>::difference_type __n, __wrap_iter<_Iter1> __x) _NOEXCEPT {
| ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__iterator/move_iterator.h:327:1: note: candidate template ignored: could not match 'move_iterator<_Iter>' against 'CFormat'
327 | operator+(typename move_iterator<_Iter>::difference_type __n, const move_iterator<_Iter>& __x) {
| ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/string:4000:1: note: candidate template ignored: could not match 'const basic_string<_CharT, _Traits, _Allocator>' against 'const wchar_t[4]'
4000 | operator+(const basic_string<_CharT, _Traits, _Allocator>& __lhs,
| ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/string:4017:1: note: candidate template ignored: could not match 'basic_string<_CharT, _Traits, _Allocator>' against 'CFormat'
4017 | operator+(const _CharT* __lhs, const basic_string<_CharT, _Traits, _Allocator>& __rhs) {
| ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/string:4033:1: note: candidate template ignored: could not match 'basic_string<_CharT, _Traits, _Allocator>' against 'CFormat'
4033 | operator+(_CharT __lhs, const basic_string<_CharT, _Traits, _Allocator>& __rhs) {
| ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/string:4048:1: note: candidate template ignored: could not match 'const basic_string<_CharT, _Traits, _Allocator>' against 'const wchar_t[4]'
4048 | operator+(const basic_string<_CharT, _Traits, _Allocator>& __lhs, const _CharT* __rhs) {
| ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/string:4064:1: note: candidate template ignored: could not match 'const basic_string<_CharT, _Traits, _Allocator>' against 'const wchar_t[4]'
4064 | operator+(const basic_string<_CharT, _Traits, _Allocator>& __lhs, _CharT __rhs) {
| ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/string:4081:1: note: candidate template ignored: could not match 'basic_string<_CharT, _Traits, _Allocator>' against 'const wchar_t[4]'
4081 | operator+(basic_string<_CharT, _Traits, _Allocator>&& __lhs, const basic_string<_CharT, _Traits, _Allocator>& __rhs) {
| ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/string:4087:1: note: candidate template ignored: could not match 'const basic_string<_CharT, _Traits, _Allocator>' against 'const wchar_t[4]'
4087 | operator+(const basic_string<_CharT, _Traits, _Allocator>& __lhs, basic_string<_CharT, _Traits, _Allocator>&& __rhs) {
| ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/string:4093:1: note: candidate template ignored: could not match 'basic_string<_CharT, _Traits, _Allocator>' against 'const wchar_t[4]'
4093 | operator+(basic_string<_CharT, _Traits, _Allocator>&& __lhs, basic_string<_CharT, _Traits, _Allocator>&& __rhs) {
| ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/string:4099:1: note: candidate template ignored: could not match 'basic_string<_CharT, _Traits, _Allocator>' against 'CFormat'
4099 | operator+(const _CharT* __lhs, basic_string<_CharT, _Traits, _Allocator>&& __rhs) {
| ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/string:4105:1: note: candidate template ignored: could not match 'basic_string<_CharT, _Traits, _Allocator>' against 'CFormat'
4105 | operator+(_CharT __lhs, basic_string<_CharT, _Traits, _Allocator>&& __rhs) {
| ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/string:4112:1: note: candidate template ignored: could not match 'basic_string<_CharT, _Traits, _Allocator>' against 'const wchar_t[4]'
4112 | operator+(basic_string<_CharT, _Traits, _Allocator>&& __lhs, const _CharT* __rhs) {
| ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/string:4118:1: note: candidate template ignored: could not match 'basic_string<_CharT, _Traits, _Allocator>' against 'const wchar_t[4]'
4118 | operator+(basic_string<_CharT, _Traits, _Allocator>&& __lhs, CharT __rhs) {
| ^
/Users/matteo/ports/amule/src/amuleDlg.cpp:235:25: error: invalid operands to binary expression ('const wchar_t[4]' and 'CFormat')
235 | AddLogLineN(wxT(" ") +
| ~~~~~~~~~~~~~~~~~~~~~~~^
236 | CFormat(("Running on %s")) % wxGetOsDescription());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hi all,
given the recent activity on fixing wxWidgets 3x compilation here is another error:
Commit 9d995e8
MacOS Sequoia 15.7.4
wxwidgets 3.3.2 (brew)
[ 45%] Building CXX object src/CMakeFiles/amulegui.dir/amuleDlg.cpp.o
cd /Users/matteo/ports/amule/build/src && /usr/bin/c++ -DCLIENT_GUI -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D__WXMAC__ -D__WXOSX_COCOA__ -D__WXOSX__ -DwxDEBUG_LEVEL=0 -I/Users/matteo/ports/amule/src -I/Users/matteo/ports/amule/build -I/Users/matteo/ports/amule/build/src/libs/ec/cpp -I/Users/matteo/ports/amule/src/include -I/Users/matteo/ports/amule/src/libs -isystem /usr/local/lib/wx/include/osx_cocoa-unicode-3.3 -isystem /usr/local/include/wx-3.3 -O3 -DNDEBUG -MD -MT src/CMakeFiles/amulegui.dir/amuleDlg.cpp.o -MF CMakeFiles/amulegui.dir/amuleDlg.cpp.o.d -o CMakeFiles/amulegui.dir/amuleDlg.cpp.o -c /Users/matteo/ports/amule/src/amuleDlg.cpp
/Users/matteo/ports/amule/src/amuleDlg.cpp:233:25: error: invalid operands to binary expression ('const wchar_t[4]' and 'CFormat')
233 | AddLogLineN(wxT(" - ") +
| ~~~~~~~~~~~~~~~~~~~~~~~^
234 | CFormat(_("This is aMule %s based on eMule.")) % GetMuleVersion());
/Users/matteo/ports/amule/src/Logger.h:440:92: note: expanded from macro 'AddLogLineN'
440 | #define AddLogLineN(string) theLogger.AddLogLine(TFILE, LINE, false, logStandard, string)
| ^~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__iterator/reverse_iterator.h:303:1: note: candidate template ignored: could not match 'reverse_iterator<_Iter>' against 'CFormat'
303 | operator+(typename reverse_iterator<_Iter>::difference_type __n, const reverse_iterator<_Iter>& __x) {
| ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__iterator/wrap_iter.h:228:1: note: candidate template ignored: could not match '__wrap_iter<_Iter1>' against 'CFormat'
228 | operator+(typename __wrap_iter<_Iter1>::difference_type __n, __wrap_iter<_Iter1> __x) _NOEXCEPT {
| ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__iterator/move_iterator.h:327:1: note: candidate template ignored: could not match 'move_iterator<_Iter>' against 'CFormat'
327 | operator+(typename move_iterator<_Iter>::difference_type __n, const move_iterator<_Iter>& __x) {
| ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/string:4000:1: note: candidate template ignored: could not match 'const basic_string<_CharT, _Traits, _Allocator>' against 'const wchar_t[4]'
4000 | operator+(const basic_string<_CharT, _Traits, _Allocator>& __lhs,
| ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/string:4017:1: note: candidate template ignored: could not match 'basic_string<_CharT, _Traits, _Allocator>' against 'CFormat'
4017 | operator+(const _CharT* __lhs, const basic_string<_CharT, _Traits, _Allocator>& __rhs) {
| ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/string:4033:1: note: candidate template ignored: could not match 'basic_string<_CharT, _Traits, _Allocator>' against 'CFormat'
4033 | operator+(_CharT __lhs, const basic_string<_CharT, _Traits, _Allocator>& __rhs) {
| ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/string:4048:1: note: candidate template ignored: could not match 'const basic_string<_CharT, _Traits, _Allocator>' against 'const wchar_t[4]'
4048 | operator+(const basic_string<_CharT, _Traits, _Allocator>& __lhs, const _CharT* __rhs) {
| ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/string:4064:1: note: candidate template ignored: could not match 'const basic_string<_CharT, _Traits, _Allocator>' against 'const wchar_t[4]'
4064 | operator+(const basic_string<_CharT, _Traits, _Allocator>& __lhs, _CharT __rhs) {
| ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/string:4081:1: note: candidate template ignored: could not match 'basic_string<_CharT, _Traits, _Allocator>' against 'const wchar_t[4]'
4081 | operator+(basic_string<_CharT, _Traits, _Allocator>&& __lhs, const basic_string<_CharT, _Traits, _Allocator>& __rhs) {
| ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/string:4087:1: note: candidate template ignored: could not match 'const basic_string<_CharT, _Traits, _Allocator>' against 'const wchar_t[4]'
4087 | operator+(const basic_string<_CharT, _Traits, _Allocator>& __lhs, basic_string<_CharT, _Traits, _Allocator>&& __rhs) {
| ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/string:4093:1: note: candidate template ignored: could not match 'basic_string<_CharT, _Traits, _Allocator>' against 'const wchar_t[4]'
4093 | operator+(basic_string<_CharT, _Traits, _Allocator>&& __lhs, basic_string<_CharT, _Traits, _Allocator>&& __rhs) {
| ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/string:4099:1: note: candidate template ignored: could not match 'basic_string<_CharT, _Traits, _Allocator>' against 'CFormat'
4099 | operator+(const _CharT* __lhs, basic_string<_CharT, _Traits, _Allocator>&& __rhs) {
| ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/string:4105:1: note: candidate template ignored: could not match 'basic_string<_CharT, _Traits, _Allocator>' against 'CFormat'
4105 | operator+(_CharT __lhs, basic_string<_CharT, _Traits, _Allocator>&& __rhs) {
| ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/string:4112:1: note: candidate template ignored: could not match 'basic_string<_CharT, _Traits, _Allocator>' against 'const wchar_t[4]'
4112 | operator+(basic_string<_CharT, _Traits, _Allocator>&& __lhs, const _CharT* __rhs) {
| ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/string:4118:1: note: candidate template ignored: could not match 'basic_string<_CharT, _Traits, _Allocator>' against 'const wchar_t[4]'
4118 | operator+(basic_string<_CharT, _Traits, _Allocator>&& __lhs, CharT __rhs) {
| ^
/Users/matteo/ports/amule/src/amuleDlg.cpp:235:25: error: invalid operands to binary expression ('const wchar_t[4]' and 'CFormat')
235 | AddLogLineN(wxT(" ") +
| ~~~~~~~~~~~~~~~~~~~~~~~^
236 | CFormat(("Running on %s")) % wxGetOsDescription());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~