Snippets for xaos 4.2.1 from FreeBSD 150arm64
Sourced from https://pkg-status.freebsd.org/ampere5/data/latest-per-pkg/xaos/4.2.1_1/150arm64-default.log.
-
src/ui/fractalwidget.cpp:78:30: warning: 'pos' is deprecated: Use position() [-Wdeprecated-declarations] 78 | m_mousePosition = event->pos(); | ^ -
src/ui/image_qt.cpp:66:20: warning: 'width' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 66 | return metrics.width(line) + 1; | ^ -
src/ui/image_qt.cpp:78:20: warning: 'width' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 78 | return metrics.width(c); | ^ -
src/ui/mainwindow.h:16:39: warning: 'QFlags' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 16 | Qt::MouseButtons m_mouseButtons = 0; | ^ -
src/ui/mainwindow.h:19:49: warning: 'QFlags' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 19 | Qt::KeyboardModifiers m_keyboardModifiers = 0; | ^ -
src/ui/mainwindow.cpp:888:34: warning: 'MidButton' is deprecated: MidButton is deprecated. Use MiddleButton instead [-Wdeprecated-declarations] 888 | if (m_mouseButtons & Qt::MidButton) | ^ -
src/ui/mainwindow.cpp:923:27: warning: 'delta' is deprecated: Use angleDelta() [-Wdeprecated-declarations] 923 | m_mouseWheel = event->delta(); | ^ -
src/ui/main.cpp:407:28: warning: 'sizeof (menuitems)' will return the size of the pointer, not the array itself [-Wsizeof-pointer-div] 407 | menu_delete(menuitems, NITEMS(menuitems)); | ^~~~~~~~~~~~~~~~~ -
src/ui/main.cpp:489:5: warning: cast from 'int (*)(uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 489 | MENUINTRB_I("setlang", NULL, TR("Menu", "System default"), "__", UI, uih_setlanguage, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 490 | UIH_LANG_SYS_DEFAULT, ui_languageselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui/main.cpp:491:5: warning: cast from 'int (*)(uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 491 | MENUINTRB_I("setlang", NULL, "Czech", "cs", UI, uih_setlanguage, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 492 | UIH_LANG_CS, ui_languageselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui/main.cpp:493:5: warning: cast from 'int (*)(uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 493 | MENUINTRB_I("setlang", NULL, "English", "en", UI, uih_setlanguage, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 494 | UIH_LANG_EN, ui_languageselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui/main.cpp:495:5: warning: cast from 'int (*)(uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 495 | MENUINTRB_I("setlang", NULL, "French", "fr", UI, uih_setlanguage, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 496 | UIH_LANG_FR, ui_languageselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui/main.cpp:497:5: warning: cast from 'int (*)(uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 497 | MENUINTRB_I("setlang", NULL, "German", "de", UI, uih_setlanguage, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 498 | UIH_LANG_DE, ui_languageselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui/main.cpp:499:5: warning: cast from 'int (*)(uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 499 | MENUINTRB_I("setlang", NULL, "Hindi", "hi", UI, uih_setlanguage, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 500 | UIH_LANG_HI, ui_languageselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui/main.cpp:501:5: warning: cast from 'int (*)(uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 501 | MENUINTRB_I("setlang", NULL, "Hungarian", "hu", UI, uih_setlanguage, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 502 | UIH_LANG_HU, ui_languageselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui/main.cpp:503:5: warning: cast from 'int (*)(uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 503 | MENUINTRB_I("setlang", NULL, "Icelandic", "is", UI, uih_setlanguage, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 504 | UIH_LANG_IS, ui_languageselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui/main.cpp:505:5: warning: cast from 'int (*)(uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 505 | MENUINTRB_I("setlang", NULL, "Italian", "it", UI, uih_setlanguage, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 506 | UIH_LANG_IT, ui_languageselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui/main.cpp:507:5: warning: cast from 'int (*)(uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 507 | MENUINTRB_I("setlang", NULL, "Portuguese", "pt", UI, uih_setlanguage, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 508 | UIH_LANG_PT, ui_languageselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui/main.cpp:509:5: warning: cast from 'int (*)(uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 509 | MENUINTRB_I("setlang", NULL, "Romanian", "ro", UI, uih_setlanguage, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 510 | UIH_LANG_RO, ui_languageselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui/main.cpp:511:5: warning: cast from 'int (*)(uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 511 | MENUINTRB_I("setlang", NULL, "Russian", "ru", UI, uih_setlanguage, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 512 | UIH_LANG_RU, ui_languageselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui/main.cpp:513:5: warning: cast from 'int (*)(uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 513 | MENUINTRB_I("setlang", NULL, "Serbian", "rs", UI, uih_setlanguage, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 514 | UIH_LANG_RS, ui_languageselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui/main.cpp:515:5: warning: cast from 'int (*)(uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 515 | MENUINTRB_I("setlang", NULL, "Spanish", "es", UI, uih_setlanguage, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 516 | UIH_LANG_ES, ui_languageselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui/main.cpp:517:5: warning: cast from 'int (*)(uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 517 | MENUINTRB_I("setlang", NULL, "Swedish", "sv", UI, uih_setlanguage, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 518 | UIH_LANG_SV, ui_languageselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui/main.cpp:519:5: warning: cast from 'int (*)(uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 519 | MENUINTRB_I("setlang", NULL, "Vietnamese", "vi", UI, uih_setlanguage, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 520 | UIH_LANG_VI, ui_languageselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui/main.cpp:526:5: warning: cast from 'int (*)(struct uih_context *)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 526 | MENUNOPCB_I("ui", NULL, TR("Menu", "Fullscreen"), "fullscreen", UI, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 527 | ui_fullscreensw, ui_fullscreenselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui/main.cpp:528:5: warning: cast from 'int (*)(struct uih_context *)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 528 | MENUNOPCB_I("uia", NULL, TR("Menu", "Fullscreen"), "fullscreena", UI, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 529 | ui_fullscreensw, ui_fullscreenselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui/customdialog.cpp:54:42: warning: 'width' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 54 | real->setMinimumWidth(metric.width(real->text()) * 1.1); | ^ -
src/ui/customdialog.cpp:60:42: warning: 'width' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 60 | imag->setMinimumWidth(metric.width(imag->text()) * 1.1); | ^ -
src/ui/customdialog.cpp:77:46: warning: 'width' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 77 | filename->setMinimumWidth(metric.width(filename->text()) * 1.1); | ^ -
src/ui/customdialog.cpp:253:43: warning: 'width' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 253 | field->setMinimumWidth(metric.width(field->text()) * 1.1); | ^ -
src/util/palette.cpp:1108:54: warning: argument 'newColors' of type 'unsigned char[31][3]' with mismatched bound [-Warray-parameter] 1108 | int mkcustompalette(struct palette *c, unsigned char newColors[31][3]) | ^ -
src/util/xmenu.cpp:104:9: warning: variable 'd' set but not used [-Wunused-but-set-variable] 104 | int d = 0, i; | ^ -
src/util/xmenu.cpp:413:26: warning: cast from 'int (*)()' to 'int (*)(struct uih_context *)' converts to incompatible function type [-Wcast-function-type-mismatch] 413 | return (((int (*)(struct uih_context *))item->control)(c)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/util/xmenu.cpp:415:26: warning: cast from 'int (*)()' to 'int (*)(struct uih_context *, int)' converts to incompatible function type [-Wcast-function-type-mismatch] 415 | return (((int (*)(struct uih_context *, int))item->control)( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/util/xmenu.cpp:418:26: warning: cast from 'int (*)()' to 'int (*)(struct uih_context *, const char *)' converts to incompatible function type [-Wcast-function-type-mismatch] 418 | return (((int (*)(struct uih_context *, const char *)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 419 | item->control)(c, (const char *)item->pparam)); | ~~~~~~~~~~~~~ -
src/util/xmenu.cpp:475:27: warning: cast from 'int (*)(struct uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 475 | item[i].control = (int (*)(void))control; | ^~~~~~~~~~~~~~~~~~~~~~ -
src/sffe/sffe.cpp:369:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 369 | char fn[len + 1]; | ^~~~~~~ -
src/ui-hlp/menu.cpp:670:64: warning: unused parameter 'uih' [-Wunused-parameter] 670 | static menudialog *uih_palettepickerdialog(struct uih_context *uih) | ^ -
src/ui-hlp/menu.cpp:736:71: warning: unused parameter 'p' [-Wunused-parameter] 736 | static void uih_palettegradient(struct uih_context *uih, dialogparam *p) | ^ -
src/ui-hlp/menu.cpp:780:69: warning: unused parameter 'p' [-Wunused-parameter] 780 | static void uih_palettepicker(struct uih_context *uih, dialogparam *p) | ^ -
src/ui-hlp/menu.cpp:1152:5: warning: cast from 'int (*)(uih_context *)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1152 | MENUNOPCB_I("ui", "/", TR("Menu", "Status"), "status", MENUFLAG_INCALC, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1153 | uih_status, uih_statusenabled); /*FIXME: add also ? as key */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1155:5: warning: cast from 'int (*)(uih_context *)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1155 | MENUNOPCB_I("ui", "l", TR("Menu", "Ministatus"), "ministatus", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1156 | MENUFLAG_INCALC, uih_ministatus, uih_ministatusenabled); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1157:5: warning: cast from 'int (*)(uih_context *)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1157 | MENUNOPCB_I("ui", "g", TR("Menu", "Cartesian Grid"), "cartesiangrid", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1158 | MENUFLAG_INCALC, uih_cartesiangrid, uih_cartesiangridenabled); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1161:5: warning: cast from 'int (*)(uih_context *)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1161 | MENUNOPCB_I("uia", "/", TR("Menu", "Status"), "animstatus", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1162 | UI | MENUFLAG_INCALC, uih_status, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1163 | uih_statusenabled); /*FIXME: add also ? as key */ | ~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1165:5: warning: cast from 'int (*)(uih_context *)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1165 | MENUNOPCB_I("uia", "l", TR("Menu", "Ministatus"), "animministatus", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1166 | UI | MENUFLAG_INCALC, uih_ministatus, uih_ministatusenabled); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1167:5: warning: cast from 'int (*)(uih_context *)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1167 | MENUNOPCB_I("uia", "g", TR("Menu", "Cartesian Grid"), "animcartesiangrid", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1168 | MENUFLAG_INCALC, uih_cartesiangrid, uih_cartesiangridenabled); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1214:5: warning: cast from 'int (*)(uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1214 | MENUINTRB_I("ytextpos", NULL, "Up", "ytextup", UI, uih_setytextpos, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1215 | UIH_TEXTTOP, uih_ytextselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1216:5: warning: cast from 'int (*)(uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1216 | MENUINTRB_I("ytextpos", NULL, "Middle", "ytextmiddle", UI, uih_setytextpos, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1217 | UIH_TEXTMIDDLE, uih_ytextselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1218:5: warning: cast from 'int (*)(uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1218 | MENUINTRB_I("ytextpos", NULL, "Bottom", "ytextbottom", UI, uih_setytextpos, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1219 | UIH_TEXTBOTTOM, uih_ytextselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1220:5: warning: cast from 'int (*)(uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1220 | MENUINTRB_I("xtextpos", NULL, "Left", "xtextleft", UI, uih_setxtextpos, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1221 | UIH_TEXTLEFT, uih_xtextselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1222:5: warning: cast from 'int (*)(uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1222 | MENUINTRB_I("xtextpos", NULL, "Center", "xtextcenter", UI, uih_setxtextpos, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1223 | UIH_TEXTCENTER, uih_xtextselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1224:5: warning: cast from 'int (*)(uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1224 | MENUINTRB_I("xtextpos", NULL, "Right", "xtexteight", UI, uih_setxtextpos, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1225 | UIH_TEXTRIGHT, uih_xtextselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1236:5: warning: cast from 'int (*)(struct uih_context *)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1236 | MENUDIALOGCB_I("file", NULL, TR("Menu", "Record"), "record", 0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1237 | uih_saveanimfile, saveanimdialog, uih_saveanimenabled); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1276:5: warning: cast from 'int (*)(struct uih_context *)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1276 | MENUCDIALOGCB_I( | ^~~~~~~~~~~~~~~~ 1277 | "fractal", "m", TR("Menu", "Mandelbrot mode"), "uimandelbrot", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1278 | MENUFLAG_DIALOGATDISABLE | MENUFLAG_INTERRUPT | UI, uih_mandelbrotsw, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1279 | uih_getjuliadialog, uih_mandelbrotselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1283:5: warning: cast from 'int (*)(struct uih_context *)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1283 | MENUNOPCB_I("fractal", "j", TR("Menu", "Fast julia mode"), "fastjulia", 0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1284 | uih_juliasw, uih_juliaselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1332:5: warning: cast from 'int (*)(struct uih_context *)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1332 | MENUNOPCB_I("palettemenu", "y", TR("Menu", "Color cycling"), "cycling", 0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1333 | uih_cyclingsw, uih_cyclingselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1334:5: warning: cast from 'int (*)(struct uih_context *)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1334 | MENUNOPCB_I("palettemenu", "Y", TR("Menu", "Reversed color cycling"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1335 | "rcycling", MENUFLAG_NOOPTION | MENUFLAG_NOPLAY, uih_rcyclingsw, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1336 | uih_rcyclingselected); | ~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1347:5: warning: cast from 'int (*)(struct uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1347 | MENUINTRB_I("mguess", NULL, TR("Menu", "Disable solid guessing"), "noguess", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1348 | UI, uih_setguessing, 1, uih_guessingselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1350:5: warning: cast from 'int (*)(struct uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1350 | MENUINTRB_I("mguess", NULL, TR("Menu", "Guess 2x2 rectangles"), "guess2", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1351 | UI, uih_setguessing, 2, uih_guessingselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1352:5: warning: cast from 'int (*)(struct uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1352 | MENUINTRB_I("mguess", NULL, TR("Menu", "Guess 3x3 rectangles"), "guess3", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1353 | UI, uih_setguessing, 3, uih_guessingselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1354:5: warning: cast from 'int (*)(struct uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1354 | MENUINTRB_I("mguess", NULL, TR("Menu", "Guess 4x4 rectangles"), "guess4", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1355 | UI, uih_setguessing, 4, uih_guessingselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1356:5: warning: cast from 'int (*)(struct uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1356 | MENUINTRB_I("mguess", NULL, TR("Menu", "Guess 5x5 rectangles"), "guess5", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1357 | UI, uih_setguessing, 5, uih_guessingselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1358:5: warning: cast from 'int (*)(struct uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1358 | MENUINTRB_I("mguess", NULL, TR("Menu", "Guess 6x6 rectangles"), "guess6", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1359 | UI, uih_setguessing, 6, uih_guessingselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1360:5: warning: cast from 'int (*)(struct uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1360 | MENUINTRB_I("mguess", NULL, TR("Menu", "Guess 7x7 rectangles"), "guess7", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1361 | UI, uih_setguessing, 7, uih_guessingselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1362:5: warning: cast from 'int (*)(struct uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1362 | MENUINTRB_I("mguess", NULL, TR("Menu", "Guess 8x8 rectangles"), "guess8", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1363 | UI, uih_setguessing, 8, uih_guessingselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1364:5: warning: cast from 'int (*)(struct uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1364 | MENUINTRB_I("mguess", NULL, TR("Menu", "Guess unlimited rectangles"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1365 | "guessall", UI, uih_setguessing, 2048, uih_guessingselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1367:5: warning: cast from 'int (*)(struct uih_context *)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1367 | MENUNOPCB_I("calc", "k", TR("Menu", "Periodicity checking"), "periodicity", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1368 | 0, uih_periodicitysw, uih_periodicityselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1376:5: warning: cast from 'int (*)(struct uih_context *)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1376 | MENUCDIALOGCB_I("calc", "b", TR("Menu", "Perturbation"), "uiperturbation", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1377 | MENUFLAG_INTERRUPT | UI, uih_persw, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1378 | uih_getperturbationdialog, uih_perselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1385:5: warning: cast from 'int (*)(struct uih_context *)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1385 | MENUNOPCB_I("calc", NULL, TR("Menu", "Fixed step"), "fixedstep", 0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1386 | uih_fixedstepsw, uih_fixedstepselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1390:5: warning: cast from 'int (*)(struct uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1390 | MENUINTRB_I("rotate", NULL, TR("Menu", "Disable rotation"), "norotate", UI, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1391 | uih_rotate, 0, uih_rotateselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1393:5: warning: cast from 'int (*)(struct uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1393 | MENUINTRB_I("rotate", NULL, TR("Menu", "Continuous rotation"), "controtate", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1394 | UI, uih_rotate, ROTATE_CONTINUOUS, uih_rotateselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1395:5: warning: cast from 'int (*)(struct uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1395 | MENUINTRB_I("rotate", NULL, TR("Menu", "Rotate by mouse"), "mouserotate", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1396 | UI, uih_rotate, ROTATE_MOUSE, uih_rotateselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1409:5: warning: cast from 'int (*)(struct uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1409 | MENUINTRB_I("dynamic", NULL, TR("Menu", "Disable dynamic resolution"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1410 | "nodynamic", UI, uih_setfastmode, 1, uih_fastmode); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1412:5: warning: cast from 'int (*)(struct uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1412 | MENUINTRB_I("dynamic", NULL, TR("Menu", "Use only during animation"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1413 | "dynamicanimation", UI, uih_setfastmode, 2, uih_fastmode); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1414:5: warning: cast from 'int (*)(struct uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1414 | MENUINTRB_I("dynamic", NULL, TR("Menu", "Use also for new images"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1415 | "dynamicnew", UI, uih_setfastmode, 3, uih_fastmode); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1419:5: warning: cast from 'int (*)(struct uih_context *)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1419 | MENUNOPCB_I("ui", "a", TR("Menu", "Autopilot"), "autopilot", 0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1420 | uih_autopilotsw, uih_autopilotselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1422:5: warning: cast from 'int (*)(uih_context *)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1422 | MENUNOPCB_I("ui", "v", TR("Menu", "Hide Messages"), "inhibittextoutput", 0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1423 | uih_inhibittextsw, uih_inhibittextselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1565:25: warning: 'sizeof (menuitems)' will return the size of the pointer, not the array itself [-Wsizeof-pointer-div] 1565 | menu_add(menuitems, NITEMS(menuitems)); | ^~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1590:27: warning: cast from 'int (*)(struct uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1590 | item[i].control = (int (*)(void))uih_selectedformula; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1635:27: warning: cast from 'int (*)(struct uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1635 | item[i].control = (int (*)(void))uih_filterenabled; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1644:28: warning: 'sizeof (menuitems)' will return the size of the pointer, not the array itself [-Wsizeof-pointer-div] 1644 | menu_delete(menuitems, NITEMS(menuitems)); | ^~~~~~~~~~~~~~~~~ -
./src/ui/mainwindow.h:16:39: warning: 'QFlags' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 16 | Qt::MouseButtons m_mouseButtons = 0; | ^ -
./src/ui/mainwindow.h:19:49: warning: 'QFlags' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 19 | Qt::KeyboardModifiers m_keyboardModifiers = 0; | ^