Snippets for xaos 4.3.4 from Fedora s390x
Sourced from https://kojipkgs.fedoraproject.org/packages/xaos/4.3.4/5.fc45/data/logs/s390x/build.log.
-
/usr/include/qt6/QtCore/qbitarray.h:13:21: warning: defining ‘QBitArray’, which previously failed to be complete in a SFINAE context [-Wsfinae-incomplete=] 13 | class Q_CORE_EXPORT QBitArray | ^~~~~~~~~ -
src/ui/customdialog.h:25:19: warning: ISO C++ forbids flexible array member ‘newColors’ [-Wpedantic] 25 | unsigned char newColors[][3]; | ^~~~~~~~~ -
src/ui/mainwindow.cpp:429:50: warning: implicit capture of ‘this’ via ‘[=]’ is deprecated in C++20 [-Wdeprecated] 429 | connect(&eventTimer, &QTimer::timeout, this, [=]() { | ^ -
src/ui/mainwindow.cpp:569:13: warning: implicit capture of ‘this’ via ‘[=]’ is deprecated in C++20 [-Wdeprecated] 569 | [=](const QFont &messageFont) { | ^ -
src/ui/mainwindow.cpp:1070:21: warning: implicit capture of ‘this’ via ‘[=]’ is deprecated in C++20 [-Wdeprecated] 1070 | [=](const QString &value) { | ^ -
src/ui/mainwindow.cpp:1103:21: warning: implicit capture of ‘this’ via ‘[=]’ is deprecated in C++20 [-Wdeprecated] 1103 | [=](const QString &value) { | ^ -
src/ui/mainwindow.cpp:1141:29: warning: implicit capture of ‘this’ via ‘[=]’ is deprecated in C++20 [-Wdeprecated] 1141 | [=](const unsigned long int &value) { | ^ -
src/ui/mainwindow.cpp:1152:29: warning: implicit capture of ‘this’ via ‘[=]’ is deprecated in C++20 [-Wdeprecated] 1152 | [=](const double &value) { | ^ -
src/ui/mainwindow.cpp:1162:29: warning: implicit capture of ‘this’ via ‘[=]’ is deprecated in C++20 [-Wdeprecated] 1162 | [=](const QString &text) { | ^ -
src/ui/mainwindow.cpp:1172:29: warning: implicit capture of ‘this’ via ‘[=]’ is deprecated in C++20 [-Wdeprecated] 1172 | [=](const QString &text) { | ^ -
src/ui/mainwindow.cpp:1214:25: warning: implicit capture of ‘this’ via ‘[=]’ is deprecated in C++20 [-Wdeprecated] 1214 | [=](void){ | ^ -
src/ui/mainwindow.cpp:1309:25: warning: implicit capture of ‘this’ via ‘[=]’ is deprecated in C++20 [-Wdeprecated] 1309 | [=](void){ | ^ -
src/ui/mainwindow.cpp:1373:25: warning: implicit capture of ‘this’ via ‘[=]’ is deprecated in C++20 [-Wdeprecated] 1373 | [=](void){ | ^ -
src/ui/mainwindow.cpp:1424:25: warning: implicit capture of ‘this’ via ‘[=]’ is deprecated in C++20 [-Wdeprecated] 1424 | [=](void){ | ^ -
src/ui/mainwindow.cpp:1461:25: warning: implicit capture of ‘this’ via ‘[=]’ is deprecated in C++20 [-Wdeprecated] 1461 | [=](void){ | ^ -
src/include/xmenu.h:398:30: warning: division ‘sizeof (menuitem*) / sizeof (menuitem)’ does not compute the number of array elements [-Wsizeof-pointer-div] 398 | #define NITEMS(n) (sizeof(n) / sizeof(menuitem)) | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ -
src/ui/main.cpp:472:10: warning: variable ‘success’ set but not used [-Wunused-but-set-variable=] 472 | bool success; | ^~~~~~~ -
src/include/xmenu.h:275:49: warning: cast between incompatible function types from ‘int (*)(uih_context*, int)’ to ‘int (*)()’ [-Wcast-function-type] 275 | menuitems_i18n[no_menuitems_i18n].control = (int (*)(void))_checkbutton; \
-
src/include/xmenu.h:249:49: warning: cast between incompatible function types from ‘int (*)(uih_context*)’ to ‘int (*)()’ [-Wcast-function-type] 249 | menuitems_i18n[no_menuitems_i18n].control = (int (*)(void))_checkbutton; \
-
src/engine/palettef.cpp:30:13: warning: storing the address of local variable ‘p’ in ‘p.11_1->data’ [-Wdangling-pointer=] 30 | p->data = &p; | ~~~~~~~~^~~~ -
src/engine/3d.cpp:103:56: warning: ‘void* calloc(size_t, size_t)’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 103 | struct threeddata *d = (struct threeddata *)calloc(sizeof(*d), 1); | ^~~~~~~~~~ -
src/ui-hlp/menu.cpp:672:64: warning: unused parameter ‘uih’ [-Wunused-parameter] 672 | static menudialog *uih_palettepickerdialog(struct uih_context *uih) | ~~~~~~~~~~~~~~~~~~~~^~~ -
src/ui-hlp/menu.cpp:738:71: warning: unused parameter ‘p’ [-Wunused-parameter] 738 | static void uih_palettegradient(struct uih_context *uih, dialogparam *p) | ~~~~~~~~~~~~~^ -
src/ui-hlp/menu.cpp:782:69: warning: unused parameter ‘p’ [-Wunused-parameter] 782 | static void uih_palettepicker(struct uih_context *uih, dialogparam *p) | ~~~~~~~~~~~~~^ -
src/include/xmenu.h:314:49: warning: cast between incompatible function types from ‘int (*)(uih_context*)’ to ‘int (*)()’ [-Wcast-function-type] 314 | menuitems_i18n[no_menuitems_i18n].control = (int (*)(void))_check; \
-
src/include/xmenu.h:344:49: warning: cast between incompatible function types from ‘int (*)(uih_context*)’ to ‘int (*)()’ [-Wcast-function-type] 344 | menuitems_i18n[no_menuitems_i18n].control = (int (*)(void))_check; \
-
src/include/xmenu.h:249:49: warning: cast between incompatible function types from ‘int (*)(uih_context*)’ to ‘int (*)()��� [-Wcast-function-type] 249 | menuitems_i18n[no_menuitems_i18n].control = (int (*)(void))_checkbutton; \
-
src/ui-hlp/menu.cpp:1598:27: warning: cast between incompatible function types from ‘int (*)(uih_context*, int)’ to ‘int (*)()’ [-Wcast-function-type] 1598 | item[i].control = (int (*)(void))uih_selectedformula; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1643:27: warning: cast between incompatible function types from ‘int (*)(uih_context*, int)’ to ‘int (*)()’ [-Wcast-function-type] 1643 | item[i].control = (int (*)(void))uih_filterenabled; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/ui_helper.cpp:2001:33: warning: ‘void* calloc(size_t, size_t)’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 2001 | uih = (uih_context *)calloc(sizeof(*uih), 1); /*setup parameters */ | ^~~~~~~~~~~~ -
src/util/catalog.cpp:109:9: warning: variable ‘size’ set but not used [-Wunused-but-set-variable=] 109 | int size; | ^~~~ -
src/util/xmenu.cpp:102:9: warning: variable ‘d’ set but not used [-Wunused-but-set-variable=] 102 | int d = 0, i; | ^ -
src/util/xmenu.cpp:427:26: warning: cast between incompatible function types from ‘int (*)()’ to ‘int (*)(uih_context*)’ [-Wcast-function-type] 427 | return (((int (*)(struct uih_context *))item->control)(c)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/util/xmenu.cpp:429:26: warning: cast between incompatible function types from ‘int (*)()’ to ‘int (*)(uih_context*, int)’ [-Wcast-function-type] 429 | return (((int (*)(struct uih_context *, int))item->control)( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/util/xmenu.cpp:432:26: warning: cast between incompatible function types from ‘int (*)()’ to ‘int (*)(uih_context*, const char*)’ [-Wcast-function-type] 432 | return (((int (*)(struct uih_context *, const char *)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 433 | item->control)(c, (const char *)item->pparam)); | ~~~~~~~~~~~~~ -
src/util/xmenu.cpp:489:27: warning: cast between incompatible function types from ‘int (*)(uih_context*, int)’ to ‘int (*)()’ [-Wcast-function-type] 489 | item[i].control = (int (*)(void))control; | ^~~~~~~~~~~~~~~~~~~~~~ -
src/sffe/sffe.cpp:369:10: warning: ISO C++ forbids variable length array ‘fn’ [-Wvla] 369 | char fn[len + 1]; | ^~ -
src/util/xstdio.cpp:182:11: warning: ISO C++ forbids variable length array ‘paths’ [-Wvla] 182 | char *paths[example_paths_taken.size()]; | ^~~~~