Snippets for xaos 4.3.7 from Nix aarch64-darwin
Sourced from https://hydra.nixos.org/log/cskcg0n07vww6d9frd6243azn4338mhk-xaos-4.3.7.drv.
-
src/include/gsl/gsl_complex_math.h:3:72: warning: invalid UTF-8 in comment [-Winvalid-utf8] 3 | * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2004, 2007 Jorma Olavi T<E4>htinen, Brian Gough | ^ -
/nix/store/a7pqfzcif0p9mbvzjyzldb56ar4y8irc-qtbase-6.11.1/lib/QtCore.framework/Headers/qproperty.h:414:69: warning: '= delete' with a message is a C++2c extension [-Wc++26-extensions] 414 | friend void operator==(const QProperty &, const QProperty<U> &) QPROPERTY_DECL_DELETED_EQ_OP; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/nix/store/a7pqfzcif0p9mbvzjyzldb56ar4y8irc-qtbase-6.11.1/lib/QtCore.framework/Headers/qproperty.h:416:69: warning: '= delete' with a message is a C++2c extension [-Wc++26-extensions] 416 | friend void operator!=(const QProperty &, const QProperty<U> &) QPROPERTY_DECL_DELETED_EQ_OP; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/play.cpp:853:17: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 853 | sprintf(errtext, TR("Message", "Replay disabled at line %i"), | ^ -
/nix/store/a7pqfzcif0p9mbvzjyzldb56ar4y8irc-qtbase-6.11.1/lib/QtCore.framework/Headers/qtimezone.h:86:9: warning: '= delete' with a message is a C++2c extension [-Wc++26-extensions] 86 | "Would be treated as int offsetSeconds. " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 87 | "Use QTimeZone::UTC or QTimeZone::LocalTime instead."); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/render.cpp:298:17: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 298 | sprintf(s, "%s%06i.png", basename, framenum); | ^ -
src/ui-hlp/render.cpp:314:13: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 314 | sprintf(t, "%s%06i.png", basename, framenum); | ^ -
/nix/store/a7pqfzcif0p9mbvzjyzldb56ar4y8irc-qtbase-6.11.1/lib/QtCore.framework/Headers/qfuturesynchronizer.h:22:5: warning: use of the 'nodiscard' attribute is a C++20 extension [-Wc++20-attribute-extensions] 22 | Q_NODISCARD_CTOR_X("Use future.waitForFinished() instead.") | ^ -
src/ui-hlp/save.cpp:36:5: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 36 | sprintf(error, "Write failed:%s", xio_errorstring()); | ^ -
src/ui-hlp/save.cpp:45:9: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 45 | sprintf(s, "\n(usleep %i)\n", tl_lookup_timer(uih->savec->timer)); | ^ -
src/ui-hlp/save.cpp:136:5: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 136 | sprintf(s, "%i", number); | ^ -
/nix/store/a7pqfzcif0p9mbvzjyzldb56ar4y8irc-qtbase-6.11.1/lib/QtCore.framework/Headers/qmetasequence.h:293:32: warning: '= delete' with a message is a C++2c extension [-Wc++26-extensions] 293 | Q_DECL_EQ_DELETE_X("Use setAt() instead."); | ^~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/messg.cpp:130:5: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 130 | sprintf(str, "Error: %s", error); | ^ -
src/util/catalog.cpp:147:13: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 147 | seterror("read error"); | ^ -
src/util/catalog.cpp:161:17: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 161 | seterror("Name is too long (>=1024 characters)"); | ^ -
src/util/catalog.cpp:185:17: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 185 | seterror("Unexpected end of file after name field"); | ^ -
src/util/catalog.cpp:187:17: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 187 | seterror("read error"); | ^ -
src/util/catalog.cpp:195:13: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 195 | seterror("Begin of value field expected"); // Text modified due to | ^ -
src/util/catalog.cpp:219:17: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 219 | seterror("Value is too long (>=1024 characters)"); | ^ -
src/util/catalog.cpp:227:13: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 227 | seterror("Unexpected EOF in value field"); | ^ -
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/ui-hlp/ui_helper.cpp:632:9: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 632 | sprintf(s, TR("Message", "File %s loaded."), name); | ^ -
src/ui-hlp/ui_helper.cpp:655:9: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 655 | sprintf(s, TR("Message", "File %s loaded."), d); | ^ -
src/ui-hlp/ui_helper.cpp:684:9: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 684 | sprintf(s, TR("Message", "File %s saved."), d); | ^ -
src/ui-hlp/ui_helper.cpp:701:9: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 701 | sprintf(s, TR("Message", "File %s saved."), d); | ^ -
src/ui-hlp/ui_helper.cpp:732:9: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 732 | sprintf(s, TR("Message", "Clipboard set to %s."), url.toStdString().c_str()); | ^ -
src/ui-hlp/ui_helper.cpp:799:9: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 799 | sprintf(s, TR("Message", "File %s saved."), configfile); | ^ -
src/ui-hlp/ui_helper.cpp:821:9: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 821 | sprintf(s, TR("Message", "Recording to file %s enabled."), d); | ^ -
src/ui-hlp/ui_helper.cpp:1764:9: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 1764 | sprintf(str, "in%i", mode); | ^ -
src/ui-hlp/ui_helper.cpp:1782:9: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 1782 | sprintf(str, "int%i", mode); | ^ -
src/ui-hlp/ui_helper.cpp:1800:9: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 1800 | sprintf(str, "outt%i", mode); | ^ -
src/ui-hlp/ui_helper.cpp:1867:9: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 1867 | sprintf(str, "out%i", mode); | ^ -
src/ui-hlp/ui_helper.cpp:1893:9: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 1893 | sprintf(str, "plane%i", mode); | ^ -
src/ui-hlp/ui_helper.cpp:1935:9: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 1935 | sprintf(str, "guess%i", range); | ^ -
src/ui-hlp/ui_helper.cpp:2325:5: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 2325 | sprintf( | ^ -
src/ui-hlp/ui_helper.cpp:2369:5: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 2369 | sprintf(str, TR("Message", "Fractal name:%s"), | ^ -
src/ui-hlp/ui_helper.cpp:2373:5: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 2373 | sprintf(str, TR("Message", "Fractal type:%s"), | ^ -
src/ui-hlp/ui_helper.cpp:2379:9: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 2379 | sprintf(str, TR("Message", "Formula:%s"), | ^ -
src/ui-hlp/ui_helper.cpp:2385:5: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 2385 | sprintf(str, TR("Message", "View:[%1.12f,%1.12f]"), | ^ -
src/ui-hlp/ui_helper.cpp:2389:5: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 2389 | sprintf(str, TR("Message", "size:[%1.12f,%1.12f]"), | ^ -
src/ui-hlp/ui_helper.cpp:2393:5: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 2393 | sprintf(str, TR("Message", "Rotation:%4.2f Screen size:%i:%i"), | ^ -
src/ui-hlp/ui_helper.cpp:2398:5: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 2398 | sprintf(str, TR("Message", "Iterations:%-4u Palette size:%i"), | ^ -
src/ui-hlp/ui_helper.cpp:2402:5: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 2402 | sprintf(str, TR("Message", "Bailout:%4.2f"), | ^ -
src/ui-hlp/ui_helper.cpp:2406:5: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 2406 | sprintf(str, TR("Message", "Autopilot:%-4s Plane:%s"), | ^ -
src/ui-hlp/ui_helper.cpp:2411:5: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 2411 | sprintf(str, TR("Message", "incoloring:%s outcoloring:%s"), | ^ -
src/ui-hlp/ui_helper.cpp:2416:5: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 2416 | sprintf(str, TR("Message", "zoomspeed:%f"), (float)uih->maxstep * 1000); | ^ -
src/ui-hlp/ui_helper.cpp:2422:9: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 2422 | sprintf(str, TR("Message", "Parameter:[%f,%f]"), | ^ -
src/ui-hlp/ui_helper.cpp:2442:5: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 2442 | sprintf(str, TR("Message", "Mouse:[%1.12f,%1.12f]"), | ^ -
src/ui/customdialog.h:25:19: warning: flexible array members are a C99 feature [-Wc99-extensions] 25 | unsigned char newColors[][3]; | ^ -
src/ui-hlp/menu.cpp:677:64: warning: unused parameter 'uih' [-Wunused-parameter] 677 | static menudialog *uih_palettepickerdialog(struct uih_context *uih) | ^ -
src/ui-hlp/menu.cpp:743:71: warning: unused parameter 'p' [-Wunused-parameter] 743 | static void uih_palettegradient(struct uih_context *uih, dialogparam *p) | ^ -
src/ui-hlp/menu.cpp:787:69: warning: unused parameter 'p' [-Wunused-parameter] 787 | static void uih_palettepicker(struct uih_context *uih, dialogparam *p) | ^ -
src/ui-hlp/menu.cpp:829:9: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 829 | sprintf(s, TR("Message", "File %s opened."), d); | ^ -
src/ui-hlp/menu.cpp:853:17: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 853 | sprintf(s, "%3d %3d %3d", colors[i][0], colors[i][1], colors[i][2]); | ^ -
src/ui-hlp/menu.cpp:858:13: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 858 | sprintf(s, TR("Message", "File %s saved."), d); | ^ -
src/ui-hlp/menu.cpp:1049:5: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 1049 | sprintf(s, TR("Error", "Algorithm:%i seed:%i size:%i"), c->palettetype, | ^ -
src/ui-hlp/menu.cpp:1159:5: warning: cast from 'int (*)(uih_context *)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1159 | MENUNOPCB_I("ui", "/", TR("Menu", "Status"), "status", MENUFLAG_INCALC, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1160 | uih_status, uih_statusenabled); /*FIXME: add also ? as key */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1162:5: warning: cast from 'int (*)(uih_context *)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1162 | MENUNOPCB_I("ui", "l", TR("Menu", "Ministatus"), "ministatus", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1163 | MENUFLAG_INCALC, uih_ministatus, uih_ministatusenabled); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1164:5: warning: cast from 'int (*)(uih_context *)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1164 | MENUNOPCB_I("ui", "g", TR("Menu", "Cartesian Grid"), "cartesiangrid", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1165 | MENUFLAG_INCALC, uih_cartesiangrid, uih_cartesiangridenabled); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1168:5: warning: cast from 'int (*)(uih_context *)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1168 | MENUNOPCB_I("uia", "/", TR("Menu", "Status"), "animstatus", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1169 | UI | MENUFLAG_INCALC, uih_status, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1170 | uih_statusenabled); /*FIXME: add also ? as key */ | ~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1172:5: warning: cast from 'int (*)(uih_context *)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1172 | MENUNOPCB_I("uia", "l", TR("Menu", "Ministatus"), "animministatus", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1173 | UI | MENUFLAG_INCALC, uih_ministatus, uih_ministatusenabled); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1174:5: warning: cast from 'int (*)(uih_context *)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1174 | MENUNOPCB_I("uia", "g", TR("Menu", "Cartesian Grid"), "animcartesiangrid", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1175 | MENUFLAG_INCALC, uih_cartesiangrid, uih_cartesiangridenabled); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1221:5: warning: cast from 'int (*)(uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1221 | MENUINTRB_I("ytextpos", NULL, "Up", "ytextup", UI, uih_setytextpos, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1222 | UIH_TEXTTOP, uih_ytextselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1223:5: warning: cast from 'int (*)(uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1223 | MENUINTRB_I("ytextpos", NULL, "Middle", "ytextmiddle", UI, uih_setytextpos, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1224 | UIH_TEXTMIDDLE, uih_ytextselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1225:5: warning: cast from 'int (*)(uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1225 | MENUINTRB_I("ytextpos", NULL, "Bottom", "ytextbottom", UI, uih_setytextpos, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1226 | UIH_TEXTBOTTOM, uih_ytextselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1227:5: warning: cast from 'int (*)(uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1227 | MENUINTRB_I("xtextpos", NULL, "Left", "xtextleft", UI, uih_setxtextpos, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1228 | UIH_TEXTLEFT, uih_xtextselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1229:5: warning: cast from 'int (*)(uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1229 | MENUINTRB_I("xtextpos", NULL, "Center", "xtextcenter", UI, uih_setxtextpos, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1230 | UIH_TEXTCENTER, uih_xtextselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1231:5: warning: cast from 'int (*)(uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1231 | MENUINTRB_I("xtextpos", NULL, "Right", "xtextright", UI, uih_setxtextpos, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1232 | UIH_TEXTRIGHT, uih_xtextselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1243:5: warning: cast from 'int (*)(struct uih_context *)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1243 | MENUDIALOGCB_I("file", NULL, TR("Menu", "Record"), "record", 0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1244 | uih_saveanimfile, saveanimdialog, uih_saveanimenabled); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1289:5: warning: cast from 'int (*)(struct uih_context *)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1289 | MENUCDIALOGCB_I( | ^~~~~~~~~~~~~~~~ 1290 | "fractal", "m", TR("Menu", "Mandelbrot mode"), "uimandelbrot", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1291 | MENUFLAG_DIALOGATDISABLE | MENUFLAG_INTERRUPT | UI, uih_mandelbrotsw, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1292 | uih_getjuliadialog, uih_mandelbrotselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1296:5: warning: cast from 'int (*)(struct uih_context *)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1296 | MENUNOPCB_I("fractal", "j", TR("Menu", "Fast julia mode"), "fastjulia", 0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1297 | uih_juliasw, uih_juliaselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1345:5: warning: cast from 'int (*)(struct uih_context *)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1345 | MENUNOPCB_I("palettemenu", "y", TR("Menu", "Color cycling"), "cycling", 0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1346 | uih_cyclingsw, uih_cyclingselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1347:5: warning: cast from 'int (*)(struct uih_context *)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1347 | MENUNOPCB_I("palettemenu", "Y", TR("Menu", "Reversed color cycling"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1348 | "rcycling", MENUFLAG_NOOPTION | MENUFLAG_NOPLAY, uih_rcyclingsw, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1349 | uih_rcyclingselected); | ~~~~~~~~~~~~~~~~~~~~~ -
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", "Disable solid guessing"), "noguess", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1361 | UI, uih_setguessing, 1, uih_guessingselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1363:5: warning: cast from 'int (*)(struct uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1363 | MENUINTRB_I("mguess", NULL, TR("Menu", "Guess 2x2 rectangles"), "guess2", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1364 | UI, uih_setguessing, 2, uih_guessingselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1365:5: warning: cast from 'int (*)(struct uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1365 | MENUINTRB_I("mguess", NULL, TR("Menu", "Guess 3x3 rectangles"), "guess3", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1366 | UI, uih_setguessing, 3, uih_guessingselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1367:5: warning: cast from 'int (*)(struct uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1367 | MENUINTRB_I("mguess", NULL, TR("Menu", "Guess 4x4 rectangles"), "guess4", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1368 | UI, uih_setguessing, 4, uih_guessingselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1369:5: warning: cast from 'int (*)(struct uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1369 | MENUINTRB_I("mguess", NULL, TR("Menu", "Guess 5x5 rectangles"), "guess5", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1370 | UI, uih_setguessing, 5, uih_guessingselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1371:5: warning: cast from 'int (*)(struct uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1371 | MENUINTRB_I("mguess", NULL, TR("Menu", "Guess 6x6 rectangles"), "guess6", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1372 | UI, uih_setguessing, 6, uih_guessingselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1373:5: warning: cast from 'int (*)(struct uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1373 | MENUINTRB_I("mguess", NULL, TR("Menu", "Guess 7x7 rectangles"), "guess7", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1374 | UI, uih_setguessing, 7, uih_guessingselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1375:5: warning: cast from 'int (*)(struct uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1375 | MENUINTRB_I("mguess", NULL, TR("Menu", "Guess 8x8 rectangles"), "guess8", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1376 | UI, uih_setguessing, 8, uih_guessingselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1377:5: warning: cast from 'int (*)(struct uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1377 | MENUINTRB_I("mguess", NULL, TR("Menu", "Guess unlimited rectangles"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1378 | "guessall", UI, uih_setguessing, 2048, uih_guessingselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1380:5: warning: cast from 'int (*)(struct uih_context *)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1380 | MENUNOPCB_I("calc", "k", TR("Menu", "Periodicity checking"), "periodicity", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1381 | 0, uih_periodicitysw, uih_periodicityselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1389:5: warning: cast from 'int (*)(struct uih_context *)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1389 | MENUCDIALOGCB_I("calc", "b", TR("Menu", "Perturbation"), "uiperturbation", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1390 | MENUFLAG_INTERRUPT | UI, uih_persw, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1391 | uih_getperturbationdialog, uih_perselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1398:5: warning: cast from 'int (*)(struct uih_context *)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1398 | MENUNOPCB_I("calc", NULL, TR("Menu", "Fixed step"), "fixedstep", 0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1399 | uih_fixedstepsw, uih_fixedstepselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1403:5: warning: cast from 'int (*)(struct uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1403 | MENUINTRB_I("rotate", NULL, TR("Menu", "Disable rotation"), "norotate", UI, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1404 | uih_rotate, 0, uih_rotateselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1406:5: warning: cast from 'int (*)(struct uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1406 | MENUINTRB_I("rotate", NULL, TR("Menu", "Continuous rotation"), "controtate", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1407 | UI, uih_rotate, ROTATE_CONTINUOUS, uih_rotateselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1408:5: warning: cast from 'int (*)(struct uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1408 | MENUINTRB_I("rotate", NULL, TR("Menu", "Rotate by mouse"), "mouserotate", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1409 | UI, uih_rotate, ROTATE_MOUSE, uih_rotateselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1422:5: warning: cast from 'int (*)(struct uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1422 | MENUINTRB_I("dynamic", NULL, TR("Menu", "Disable dynamic resolution"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1423 | "nodynamic", UI, uih_setfastmode, 1, uih_fastmode); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1425:5: warning: cast from 'int (*)(struct uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1425 | MENUINTRB_I("dynamic", NULL, TR("Menu", "Use only during animation"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1426 | "dynamicanimation", UI, uih_setfastmode, 2, uih_fastmode); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1427:5: warning: cast from 'int (*)(struct uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1427 | MENUINTRB_I("dynamic", NULL, TR("Menu", "Use also for new images"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1428 | "dynamicnew", UI, uih_setfastmode, 3, uih_fastmode); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1432:5: warning: cast from 'int (*)(struct uih_context *)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1432 | MENUNOPCB_I("ui", "a", TR("Menu", "Autopilot"), "autopilot", 0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1433 | uih_autopilotsw, uih_autopilotselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1435:5: warning: cast from 'int (*)(uih_context *)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1435 | MENUNOPCB_I("ui", "v", TR("Menu", "Hide Messages"), "inhibittextoutput", 0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1436 | uih_inhibittextsw, uih_inhibittextselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1578:25: warning: 'sizeof (menuitems)' will return the size of the pointer, not the array itself [-Wsizeof-pointer-div] 1578 | menu_add(menuitems, NITEMS(menuitems)); | ^~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1603:27: warning: cast from 'int (*)(struct uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1603 | item[i].control = (int (*)(void))uih_selectedformula; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1648:27: warning: cast from 'int (*)(struct uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 1648 | item[i].control = (int (*)(void))uih_filterenabled; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui-hlp/menu.cpp:1657:28: warning: 'sizeof (menuitems)' will return the size of the pointer, not the array itself [-Wsizeof-pointer-div] 1657 | menu_delete(menuitems, NITEMS(menuitems)); | ^~~~~~~~~~~~~~~~~ -
/nix/store/a7pqfzcif0p9mbvzjyzldb56ar4y8irc-qtbase-6.11.1/lib/QtGui.framework/Headers/qquaternion.h:106:32: warning: '= delete' with a message is a C++2c extension [-Wc++26-extensions] 106 | Q_DECL_EQ_DELETE_X("Deliberately not implemented. Don't implement it yourself!"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/nix/store/a7pqfzcif0p9mbvzjyzldb56ar4y8irc-qtbase-6.11.1/lib/QtGui.framework/Headers/qquaternion.h:108:32: warning: '= delete' with a message is a C++2c extension [-Wc++26-extensions] 108 | Q_DECL_EQ_DELETE_X("Deliberately not implemented. Don't implement it yourself!"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/nix/store/a7pqfzcif0p9mbvzjyzldb56ar4y8irc-qtbase-6.11.1/lib/QtGui.framework/Headers/qquaternion.h:110:32: warning: '= delete' with a message is a C++2c extension [-Wc++26-extensions] 110 | Q_DECL_EQ_DELETE_X("Deliberately not implemented. Don't implement it yourself!"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/nix/store/a7pqfzcif0p9mbvzjyzldb56ar4y8irc-qtbase-6.11.1/lib/QtGui.framework/Headers/qquaternion.h:112:32: warning: '= delete' with a message is a C++2c extension [-Wc++26-extensions] 112 | Q_DECL_EQ_DELETE_X("Deliberately not implemented. Don't implement it yourself!"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/nix/store/a7pqfzcif0p9mbvzjyzldb56ar4y8irc-qtbase-6.11.1/lib/QtGui.framework/Headers/qquaternion.h:114:32: warning: '= delete' with a message is a C++2c extension [-Wc++26-extensions] 114 | Q_DECL_EQ_DELETE_X("Deliberately not implemented. Don't implement it yourself!"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/nix/store/a7pqfzcif0p9mbvzjyzldb56ar4y8irc-qtbase-6.11.1/lib/QtGui.framework/Headers/qquaternion.h:118:32: warning: '= delete' with a message is a C++2c extension [-Wc++26-extensions] 118 | Q_DECL_EQ_DELETE_X("Deliberately not implemented. Don't implement it yourself!"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/nix/store/a7pqfzcif0p9mbvzjyzldb56ar4y8irc-qtbase-6.11.1/lib/QtGui.framework/Headers/qquaternion.h:124:32: warning: '= delete' with a message is a C++2c extension [-Wc++26-extensions] 124 | Q_DECL_EQ_DELETE_X("Deliberately not implemented. Don't implement it yourself!"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
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 from 'int (*)()' to 'int (*)(struct uih_context *)' converts to incompatible function type [-Wcast-function-type-mismatch] 427 | return (((int (*)(struct uih_context *))item->control)(c)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/util/xmenu.cpp:429:26: warning: cast from 'int (*)()' to 'int (*)(struct uih_context *, int)' converts to incompatible function type [-Wcast-function-type-mismatch] 429 | return (((int (*)(struct uih_context *, int))item->control)( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/util/xmenu.cpp:432:26: warning: cast from 'int (*)()' to 'int (*)(struct uih_context *, const char *)' converts to incompatible function type [-Wcast-function-type-mismatch] 432 | return (((int (*)(struct uih_context *, const char *)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 433 | item->control)(c, (const char *)item->pparam)); | ~~~~~~~~~~~~~ -
src/util/xmenu.cpp:446:5: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 446 | sprintf(s, "%s%i", name, 0); | ^ -
src/util/xmenu.cpp:486:13: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 486 | sprintf(shortname, "%s%i", prefix, i); | ^ -
src/util/xmenu.cpp:489:27: warning: cast from 'int (*)(struct uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 489 | item[i].control = (int (*)(void))control; | ^~~~~~~~~~~~~~~~~~~~~~ -
src/util/xmenu.cpp:646:9: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 646 | sprintf(errorstr, "%s:unknown function", c); | ^ -
src/util/xmenu.cpp:650:9: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 650 | sprintf(errorstr, | ^ -
src/util/xmenu.cpp:657:13: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 657 | sprintf(errorstr, "function '%s' is disabled", c); | ^ -
src/util/xmenu.cpp:701:17: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 701 | sprintf(errorstr, "Function '%s' parameter %i:%s", | ^ -
src/sffe/sffe.cpp:55:13: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 55 | sprintf(errormessage, "%s", TR("Message", "Out of memory")); | ^ -
src/sffe/sffe.cpp:58:13: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 58 | sprintf(errormessage, TR("Message", "Unbalanced parentheses"), | ^ -
src/sffe/sffe.cpp:62:13: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 62 | sprintf(errormessage, TR("Message", "Unknown function: %s"), | ^ -
src/sffe/sffe.cpp:66:13: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 66 | sprintf(errormessage, TR("Message", "Invalid number: %s"), context); | ^ -
src/sffe/sffe.cpp:69:13: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 69 | sprintf(errormessage, TR("Message", "Unknown variable: %s"), | ^ -
src/sffe/sffe.cpp:73:13: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 73 | sprintf(errormessage, TR("Message", "Invalid operator: %s"), | ^ -
src/sffe/sffe.cpp:77:13: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 77 | sprintf(errormessage, | ^ -
src/sffe/sffe.cpp:82:13: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 82 | sprintf(errormessage, | ^ -
src/sffe/sffe.cpp:87:13: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 87 | sprintf(errormessage, TR("Message", "Empty formula"), context); | ^ -
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/mainwindow.cpp:145:17: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 145 | sprintf(s, TR("Message", "Enabling: %s. "), item->name); | ^ -
src/ui/mainwindow.cpp:147:17: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 147 | sprintf(s, TR("Message", "Disabling: %s. "), item->name); | ^ -
src/ui/mainwindow.cpp:262:9: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 262 | sprintf(str, text, *counter); | ^ -
src/ui/mainwindow.cpp:306:17: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 306 | sprintf( | ^ -
src/ui/mainwindow.cpp:352:13: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 352 | sprintf(str, TR("Message", "speed:%2.2f "), | ^ -
src/ui/mainwindow.cpp:522:21: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 522 | sprintf(str, "%s %3.2f%% ", text, (double)percent); | ^ -
src/ui/mainwindow.cpp:524:21: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 524 | sprintf(str, "%s ", text); | ^ -
src/ui/mainwindow.cpp:548:5: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 548 | sprintf(s, TR("Message", "Please wait while calculating %s"), | ^ -
src/ui/mainwindow.cpp:656:5: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 656 | sprintf(welcome, TR("Message", "Welcome to XaoS version %s"), XaoS_VERSION); | ^ -
src/ui/main.cpp:440:28: warning: 'sizeof (menuitems)' will return the size of the pointer, not the array itself [-Wsizeof-pointer-div] 440 | menu_delete(menuitems, NITEMS(menuitems)); | ^~~~~~~~~~~~~~~~~ -
src/ui/main.cpp:478:10: warning: variable 'success' set but not used [-Wunused-but-set-variable] 478 | bool success; | ^ -
src/ui/main.cpp:525:5: warning: cast from 'int (*)(uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 525 | MENUINTRB_I("setlang", NULL, TR("Menu", "System default"), "__", UI, uih_setlanguage, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 526 | UIH_LANG_SYS_DEFAULT, ui_languageselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui/main.cpp:527:5: warning: cast from 'int (*)(uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 527 | MENUINTRB_I("setlang", NULL, "Armenian", "hy", UI, uih_setlanguage, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 528 | UIH_LANG_HY, ui_languageselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui/main.cpp:529:5: warning: cast from 'int (*)(uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 529 | MENUINTRB_I("setlang", NULL, "Chinese", "zh", UI, uih_setlanguage, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 530 | UIH_LANG_ZH, ui_languageselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui/main.cpp:531:5: warning: cast from 'int (*)(uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 531 | MENUINTRB_I("setlang", NULL, "Czech", "cs", UI, uih_setlanguage, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 532 | UIH_LANG_CS, ui_languageselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui/main.cpp:533:5: warning: cast from 'int (*)(uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 533 | MENUINTRB_I("setlang", NULL, "English", "en", UI, uih_setlanguage, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 534 | UIH_LANG_EN, ui_languageselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui/main.cpp:535:5: warning: cast from 'int (*)(uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 535 | MENUINTRB_I("setlang", NULL, "French", "fr", UI, uih_setlanguage, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 536 | UIH_LANG_FR, ui_languageselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui/main.cpp:537:5: warning: cast from 'int (*)(uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 537 | MENUINTRB_I("setlang", NULL, "German", "de", UI, uih_setlanguage, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 538 | UIH_LANG_DE, ui_languageselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui/main.cpp:539:5: warning: cast from 'int (*)(uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 539 | MENUINTRB_I("setlang", NULL, "Hebrew", "he", UI, uih_setlanguage, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 540 | UIH_LANG_HE, ui_languageselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui/main.cpp:541:5: warning: cast from 'int (*)(uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 541 | MENUINTRB_I("setlang", NULL, "Hindi", "hi", UI, uih_setlanguage, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 542 | UIH_LANG_HI, ui_languageselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui/main.cpp:543:5: warning: cast from 'int (*)(uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 543 | MENUINTRB_I("setlang", NULL, "Hungarian", "hu", UI, uih_setlanguage, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 544 | UIH_LANG_HU, ui_languageselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui/main.cpp:545:5: warning: cast from 'int (*)(uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 545 | MENUINTRB_I("setlang", NULL, "Icelandic", "is", UI, uih_setlanguage, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 546 | UIH_LANG_IS, ui_languageselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui/main.cpp:547:5: warning: cast from 'int (*)(uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 547 | MENUINTRB_I("setlang", NULL, "Italian", "it", UI, uih_setlanguage, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 548 | UIH_LANG_IT, ui_languageselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui/main.cpp:549:5: warning: cast from 'int (*)(uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 549 | MENUINTRB_I("setlang", NULL, "Portuguese", "pt", UI, uih_setlanguage, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 550 | UIH_LANG_PT, ui_languageselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui/main.cpp:551:5: warning: cast from 'int (*)(uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 551 | MENUINTRB_I("setlang", NULL, "Romanian", "ro", UI, uih_setlanguage, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 552 | UIH_LANG_RO, ui_languageselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui/main.cpp:553:5: warning: cast from 'int (*)(uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 553 | MENUINTRB_I("setlang", NULL, "Russian", "ru", UI, uih_setlanguage, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 554 | UIH_LANG_RU, ui_languageselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui/main.cpp:555:5: warning: cast from 'int (*)(uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 555 | MENUINTRB_I("setlang", NULL, "Serbian", "rs", UI, uih_setlanguage, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 556 | UIH_LANG_RS, ui_languageselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui/main.cpp:557:5: warning: cast from 'int (*)(uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 557 | MENUINTRB_I("setlang", NULL, "Spanish", "es", UI, uih_setlanguage, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 558 | UIH_LANG_ES, ui_languageselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui/main.cpp:559:5: warning: cast from 'int (*)(uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 559 | MENUINTRB_I("setlang", NULL, "Swedish", "sv", UI, uih_setlanguage, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 560 | UIH_LANG_SV, ui_languageselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui/main.cpp:561:5: warning: cast from 'int (*)(uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 561 | MENUINTRB_I("setlang", NULL, "Turkish", "tr", UI, uih_setlanguage, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 562 | UIH_LANG_TR, ui_languageselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/ui/main.cpp:563:5: warning: cast from 'int (*)(uih_context *, int)' to 'int (*)()' converts to incompatible function type [-Wcast-function-type-mismatch] 563 | MENUINTRB_I("setlang", NULL, "Vietnamese", "vi", UI, uih_setlanguage, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 564 | UIH_LANG_VI, ui_languageselected); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/util/xstdio.cpp:32:9: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 32 | sprintf(c1, "%s%s", xio_homedir, c + 1); | ^ -
src/util/xstdio.cpp:37:9: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 37 | sprintf(c1, "%s%s", xio_appdir, c + 1); | ^ -
src/util/xstdio.cpp:129:9: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 129 | sprintf(name, "%s%i%s", base, nimage++, extension); | ^ -
src/util/xstdio.cpp:182:17: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 182 | char *paths[example_paths_taken.size()]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/util/xstdio.cpp:469:13: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 469 | sprintf(c1, "%s%s%s", xio_appdir, XIO_PATHSEPSTR, c); | ^ -
./src/ui/customdialog.h:25:19: warning: flexible array members are a C99 feature [-Wc99-extensions] 25 | unsigned char newColors[][3]; | ^