Actions
Bug #771
closedQt-client uses asprintf()
Start date:
08/04/2024
Due date:
% Done:
0%
Estimated time:
Description
Qt-client again uses QString::asprintf(), which causes compile error on msys2:
../../../../../../client/gui-qt/citydlg.cpp: In member function 'void city_dialog::update_counters_table()':
../../../../../../client/gui-qt/citydlg.cpp:3041:24: error: 'libintl_asprintf' is not a member of 'QString'
3041 | concatStr=QString::asprintf("%s%d", _("Current value is: "),
| ^~~~~~
../../../../../../client/gui-qt/citydlg.cpp:3044:24: error: 'libintl_asprintf' is not a member of 'QString'
3044 | concatStr=QString::asprintf("%s%d",_("Activated once value equal "
Files
Updated by Marko Lindqvist 5 months ago
- File 0010-Qt-Avoid-asprintf-to-fix-msys2-conpile.patch 0010-Qt-Avoid-asprintf-to-fix-msys2-conpile.patch added
- Status changed from New to In Review
- Assignee set to Marko Lindqvist
Actions