Snippets for zegrapher 3.1.1 from Nix aarch64-linux
Sourced from https://hydra.nixos.org/log/gcrjjg6m8aj3ww13p6sa8fayy49sfkpz-zegrapher-3.1.1.drv.
-
./structures.h:183:8: warning: '*(unsigned char*)((char*)&style + offsetof(DataStyle, DataStyle::draw))' may be used uninitialized [-Wmaybe-uninitialized] 183 | struct DataStyle | ^~~~~~~~~ -
./structures.h:183:8: warning: '*(unsigned char*)((char*)&style + offsetof(DataStyle, DataStyle::drawLines))' may be used uninitialized [-Wmaybe-uninitialized] 183 | struct DataStyle | ^~~~~~~~~ -
./structures.h:183:8: warning: '*(unsigned char*)((char*)&style + offsetof(DataStyle, DataStyle::drawPoints))' may be used uninitialized [-Wmaybe-uninitialized] 183 | struct DataStyle | ^~~~~~~~~ -
./structures.h:183:8: warning: '*(unsigned int*)((char*)&style + offsetof(DataStyle, DataStyle::pointStyle))' may be used uninitialized [-Wmaybe-uninitialized] 183 | struct DataStyle | ^~~~~~~~~ -
./structures.h:183:8: warning: '*(unsigned int*)((char*)&style + offsetof(DataStyle, DataStyle::lineStyle))' may be used uninitialized [-Wmaybe-uninitialized] 183 | struct DataStyle | ^~~~~~~~~ -
GraphDraw/printpreview.cpp:58:26: warning: 'void QPrinter::setPaperSize(PaperSize)' is deprecated: Use setPageSize(QPageSize) instead. [-Wdeprecated-declarations] 58 | printer->setPaperSize(QPrinter::A4); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ -
GraphDraw/printpreview.cpp:67:32: warning: 'void QPrinter::setOrientation(Orientation)' is deprecated: Use setPageOrientation() instead. [-Wdeprecated-declarations] 67 | printer->setOrientation(QPrinter::Portrait); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ -
GraphDraw/printpreview.cpp:68:33: warning: 'void QPrinter::setOrientation(Orientation)' is deprecated: Use setPageOrientation() instead. [-Wdeprecated-declarations] 68 | else printer->setOrientation(QPrinter::Landscape); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ -
GraphDraw/printpreview.cpp:73:37: warning: 'QRect QPrinter::paperRect() const' is deprecated: Use pageLayout().fullRectPixels(resolution()) instead. [-Wdeprecated-declarations] 73 | QRect sheet = printer->paperRect(); | ~~~~~~~~~~~~~~~~~~^~ -
GraphDraw/printpreview.cpp:86:44: warning: 'QRect QPrinter::paperRect() const' is deprecated: Use pageLayout().fullRectPixels(resolution()) instead. [-Wdeprecated-declarations] 86 | painter.drawRect(printer->paperRect()); | ~~~~~~~~~~~~~~~~~~^~ -
GraphDraw/maingraph.cpp:263:26: warning: 'QPoint QWheelEvent::pos() const' is deprecated: Use position() [-Wdeprecated-declarations] 263 | double x = event->pos().x(); | ~~~~~~~~~~^~ -
GraphDraw/maingraph.cpp:264:26: warning: 'QPoint QWheelEvent::pos() const' is deprecated: Use position() [-Wdeprecated-declarations] 264 | double y = event->pos().y(); | ~~~~~~~~~~^~ -
GraphDraw/maingraph.cpp:380:47: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 380 | qDebug() << "indirect paint " << qrand(); | ~~~~~^~ -
GraphDraw/maingraph.cpp:385:45: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations] 385 | qDebug() << "direct paint " << qrand(); | ~~~~~^~ -
/nix/store/10lphnfp1f29qrbazd17mphyxbi90x65-qtbase-5.15.19-dev/include/QtCore/qline.h:294:18: warning: 'Ypos' may be used uninitialized [-Wmaybe-uninitialized] 294 | : pt1(apt1), pt2(apt2) | ^~~~~~~~~ -
GraphDraw/imagepreview.cpp:197:55: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 197 | int xLegendWidth = painter.fontMetrics().width(xLegend); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ -
GraphDraw/imagepreview.cpp:208:55: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 208 | int yLegendWidth = painter.fontMetrics().width(yLegend); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ -
GraphDraw/imagepreview.cpp:264:38: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 264 | space = fontMetrics.width(num); | ~~~~~~~~~~~~~~~~~^~~~~ -
GraphDraw/imagepreview.cpp:270:38: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 270 | space = fontMetrics.width("0"); | ~~~~~~~~~~~~~~~~~^~~~~ -
GraphDraw/imagepreview.cpp:308:38: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 308 | space = fontMetrics.width(num) + 5; | ~~~~~~~~~~~~~~~~~^~~~~ -
GraphDraw/imagepreview.cpp:318:38: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 318 | space = fontMetrics.width("0") + 5; | ~~~~~~~~~~~~~~~~~^~~~~ -
DataPlot/datatable.cpp:262:14: warning: 'void qSort(RandomAccessIterator, RandomAccessIterator, LessThan) [with RandomAccessIterator = QList<double>::iterator; LessThan = int (*)(double, double)]' is deprecated: Use std::sort [-Wdeprecated-declarations] 262 | qSort(values[col].begin(), values[col].end(), doubleCompareAscend); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
DataPlot/datatable.cpp:263:15: warning: 'void qSort(RandomAccessIterator, RandomAccessIterator, LessThan) [with RandomAccessIterator = QList<double>::iterator; LessThan = int (*)(double, double)]' is deprecated: Use std::sort [-Wdeprecated-declarations] 263 | else qSort(values[col].begin(), values[col].end(), doubleCompareDescend); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
DataPlot/datatable.cpp:272:59: warning: 'void QTableWidgetItem::setBackgroundColor(const QColor&)' is deprecated: Use QTableWidgetItem::setBackground() instead [-Wdeprecated-declarations] 272 | tableWidget->item(row,col)->setBackgroundColor(backgroundColor); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -
DataPlot/datatable.cpp:273:53: warning: 'void QTableWidgetItem::setTextColor(const QColor&)' is deprecated: Use QTableWidgetItem::setForeground() instead [-Wdeprecated-declarations] 273 | tableWidget->item(row,col)->setTextColor(textColor); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ -
DataPlot/datatable.cpp:278:59: warning: 'void QTableWidgetItem::setBackgroundColor(const QColor&)' is deprecated: Use QTableWidgetItem::setBackground() instead [-Wdeprecated-declarations] 278 | tableWidget->item(row,col)->setBackgroundColor(VALID_COLOR); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ -
DataPlot/datatable.cpp:279:53: warning: 'void QTableWidgetItem::setTextColor(const QColor&)' is deprecated: Use QTableWidgetItem::setForeground() instead [-Wdeprecated-declarations] 279 | tableWidget->item(row,col)->setTextColor(Qt::black); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ -
DataPlot/datatable.cpp:317:14: warning: 'void qSort(RandomAccessIterator, RandomAccessIterator, LessThan) [with RandomAccessIterator = QList<QList<double> >::iterator; LessThan = int (*)(QList<double>, QList<double>)]' is deprecated: Use std::sort [-Wdeprecated-declarations] 317 | qSort(vals.begin(), vals.end(), listCompareAscend); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
DataPlot/datatable.cpp:318:15: warning: 'void qSort(RandomAccessIterator, RandomAccessIterator, LessThan) [with RandomAccessIterator = QList<QList<double> >::iterator; LessThan = int (*)(QList<double>, QList<double>)]' is deprecated: Use std::sort [-Wdeprecated-declarations] 318 | else qSort(vals.begin(), vals.end(), listCompareDescend); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
DataPlot/datatable.cpp:330:63: warning: 'void QTableWidgetItem::setBackgroundColor(const QColor&)' is deprecated: Use QTableWidgetItem::setBackground() instead [-Wdeprecated-declarations] 330 | tableWidget->item(row,col)->setBackgroundColor(backgroundColor); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -
DataPlot/datatable.cpp:331:57: warning: 'void QTableWidgetItem::setTextColor(const QColor&)' is deprecated: Use QTableWidgetItem::setForeground() instead [-Wdeprecated-declarations] 331 | tableWidget->item(row,col)->setTextColor(textColor); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ -
DataPlot/datatable.cpp:336:63: warning: 'void QTableWidgetItem::setBackgroundColor(const QColor&)' is deprecated: Use QTableWidgetItem::setBackground() instead [-Wdeprecated-declarations] 336 | tableWidget->item(row,col)->setBackgroundColor(VALID_COLOR); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ -
DataPlot/datatable.cpp:337:57: warning: 'void QTableWidgetItem::setTextColor(const QColor&)' is deprecated: Use QTableWidgetItem::setForeground() instead [-Wdeprecated-declarations] 337 | tableWidget->item(row,col)->setTextColor(Qt::black); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ -
DataPlot/datatable.cpp:371:33: warning: 'void QTableWidgetItem::setBackgroundColor(const QColor&)' is deprecated: Use QTableWidgetItem::setBackground() instead [-Wdeprecated-declarations] 371 | item->setBackgroundColor(VALID_COLOR); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ -
DataPlot/datatable.cpp:372:27: warning: 'void QTableWidgetItem::setTextColor(const QColor&)' is deprecated: Use QTableWidgetItem::setForeground() instead [-Wdeprecated-declarations] 372 | item->setTextColor(Qt::black); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ -
DataPlot/datatable.cpp:418:37: warning: 'void QTableWidgetItem::setBackgroundColor(const QColor&)' is deprecated: Use QTableWidgetItem::setBackground() instead [-Wdeprecated-declarations] 418 | item->setBackgroundColor(backgroundColor); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -
DataPlot/datatable.cpp:419:31: warning: 'void QTableWidgetItem::setTextColor(const QColor&)' is deprecated: Use QTableWidgetItem::setForeground() instead [-Wdeprecated-declarations] 419 | item->setTextColor(textColor); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ -
DataPlot/datatable.cpp:424:37: warning: 'void QTableWidgetItem::setBackgroundColor(const QColor&)' is deprecated: Use QTableWidgetItem::setBackground() instead [-Wdeprecated-declarations] 424 | item->setBackgroundColor(VALID_COLOR); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ -
DataPlot/datatable.cpp:425:31: warning: 'void QTableWidgetItem::setTextColor(const QColor&)' is deprecated: Use QTableWidgetItem::setForeground() instead [-Wdeprecated-declarations] 425 | item->setTextColor(Qt::black); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ -
DataPlot/datatable.cpp:466:33: warning: 'void QTableWidgetItem::setBackgroundColor(const QColor&)' is deprecated: Use QTableWidgetItem::setBackground() instead [-Wdeprecated-declarations] 466 | item->setBackgroundColor(backgroundColor); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -
DataPlot/datatable.cpp:467:27: warning: 'void QTableWidgetItem::setTextColor(const QColor&)' is deprecated: Use QTableWidgetItem::setForeground() instead [-Wdeprecated-declarations] 467 | item->setTextColor(textColor); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ -
DataPlot/datatable.cpp:477:37: warning: 'void QTableWidgetItem::setBackgroundColor(const QColor&)' is deprecated: Use QTableWidgetItem::setBackground() instead [-Wdeprecated-declarations] 477 | item->setBackgroundColor(VALID_COLOR); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ -
DataPlot/datatable.cpp:478:31: warning: 'void QTableWidgetItem::setTextColor(const QColor&)' is deprecated: Use QTableWidgetItem::setForeground() instead [-Wdeprecated-declarations] 478 | item->setTextColor(Qt::black); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ -
DataPlot/datatable.cpp:487:37: warning: 'void QTableWidgetItem::setBackgroundColor(const QColor&)' is deprecated: Use QTableWidgetItem::setBackground() instead [-Wdeprecated-declarations] 487 | item->setBackgroundColor(INVALID_COLOR); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ -
DataPlot/datatable.cpp:488:31: warning: 'void QTableWidgetItem::setTextColor(const QColor&)' is deprecated: Use QTableWidgetItem::setForeground() instead [-Wdeprecated-declarations] 488 | item->setTextColor(Qt::black); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ -
/nix/store/q9z6qg6yhny3hjkszx634jb6d41pjc33-boost-1.86.0-dev/include/boost/math/tools/config.hpp:26:6: warning: #warning "Boost.Math requires C++14" [-Wcpp] 26 | # warning "Boost.Math requires C++14" | ^~~~~~~ -
/nix/store/q9z6qg6yhny3hjkszx634jb6d41pjc33-boost-1.86.0-dev/include/boost/multiprecision/detail/standalone_config.hpp:36:7: warning: #warning "The minimum language standard to use Boost.Math will be C++14 starting in July 2023 (Boost 1.82 release)" [-Wcpp] 36 | # warning "The minimum language standard to use Boost.Math will be C++14 starting in July 2023 (Boost 1.82 release)" | ^~~~~~~ -
Calculus/polynomial.cpp:289:26: warning: implicitly-declared 'Polynomial& Polynomial::operator=(const Polynomial&)' is deprecated [-Wdeprecated-copy] 289 | D = D.antiderivative(); | ^ -
Calculus/polynomialregression.cpp:63:10: warning: 'void qSort(Container&) [with Container = QList<Point>]' is deprecated: Use std::sort [-Wdeprecated-declarations] 63 | qSort(dataPoints); | ~~~~~^~~~~~~~~~~~ -
Calculus/polynomialregression.cpp:277:45: warning: implicitly-declared 'Polynomial& Polynomial::operator=(const Polynomial&)' is deprecated [-Wdeprecated-copy] 277 | prod = (segment * P).antiderivative(); | ^