=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for xournalpp-1.2.3nb6 [ 0%] Building CXX object src/util/CMakeFiles/util.dir/Color.cpp.o [ 0%] Building CXX object src/util/CMakeFiles/util.dir/PathUtil.cpp.o [ 1%] Building CXX object src/util/CMakeFiles/util.dir/Range.cpp.o [ 2%] Building CXX object src/util/CMakeFiles/util.dir/NamedColor.cpp.o [ 2%] Building CXX object src/util/CMakeFiles/util.dir/OutputStream.cpp.o [ 2%] Building CXX object src/util/CMakeFiles/util.dir/GzUtil.cpp.o [ 2%] Building CXX object src/util/CMakeFiles/util.dir/PlaceholderString.cpp.o [ 2%] Building CXX object src/util/CMakeFiles/util.dir/ElementRange.cpp.o [ 2%] Building CXX object src/util/CMakeFiles/util.dir/SaveNameUtils.cpp.o [ 2%] Building CXX object src/util/CMakeFiles/util.dir/Stacktrace.cpp.o [ 2%] Building CXX object src/util/CMakeFiles/util.dir/StringUtils.cpp.o [ 2%] Building CXX object src/util/CMakeFiles/util.dir/Util.cpp.o [ 3%] Building CXX object src/util/CMakeFiles/util.dir/XojMsgBox.cpp.o /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/util/Stacktrace.cpp: In static member function 'static void Stacktrace::printStracktrace(std::ostream&)': /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/util/Stacktrace.cpp:94:31: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 94 | int trace_size = backtrace(trace.data(), trace.size()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/util/Stacktrace.cpp:98:32: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 98 | for (unsigned int i = 1; i < trace_size; ++i) { | ~~^~~~~~~~~~~~ [ 3%] Building CXX object src/util/CMakeFiles/util.dir/XojPreviewExtractor.cpp.o [ 3%] Building CXX object src/util/CMakeFiles/util.dir/logger/Logger.cpp.o [ 3%] Building CXX object src/util/CMakeFiles/util.dir/pixbuf-utils.cpp.o [ 4%] Building CXX object src/util/CMakeFiles/util.dir/raii/CStringWrapper.cpp.o [ 4%] Building CXX object src/util/CMakeFiles/util.dir/serializing/BinObjectEncoding.cpp.o [ 4%] Building CXX object src/util/CMakeFiles/util.dir/serializing/HexObjectEncoding.cpp.o [ 4%] Building CXX object src/util/CMakeFiles/util.dir/serializing/InputStreamException.cpp.o [ 5%] Building CXX object src/util/CMakeFiles/util.dir/serializing/ObjectEncoding.cpp.o [ 5%] Building CXX object src/util/CMakeFiles/util.dir/serializing/ObjectInputStream.cpp.o [ 5%] Building CXX object src/util/CMakeFiles/util.dir/serializing/ObjectOutputStream.cpp.o /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/util/pixbuf-utils.cpp: In instantiation of 'f_pixbuf_to_cairo_surface(GdkPixbuf*):: [with auto:1 = unsigned char; auto:2 = unsigned char; auto:3 = unsigned char; auto:4 = unsigned int]': /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/util/pixbuf-utils.cpp:141:46: required from here /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/util/pixbuf-utils.cpp:136:37: warning: conversion from 'unsigned int' to 'unsigned char' may change value [-Wconversion] 136 | d = ((t >> 8U) + t) >> 8U; | ~~~~~~~~~~~~~~~~^~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/util/pixbuf-utils.cpp: In function 'void convert_alpha(guchar*, int, guchar*, int, int, int, int, int)': /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/util/pixbuf-utils.cpp:208:90: warning: conversion from 'unsigned int' to 'guchar' {aka 'unsigned char'} may change value [-Wconversion] 208 | dest_data[x * 4 + 0] = (((src[x] & 0xff0000U) >> 16U) * 255 + alpha / 2) / alpha; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/util/pixbuf-utils.cpp:209:89: warning: conversion from 'unsigned int' to 'guchar' {aka 'unsigned char'} may change value [-Wconversion] 209 | dest_data[x * 4 + 1] = (((src[x] & 0x00ff00U) >> 8U) * 255 + alpha / 2) / alpha; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/util/pixbuf-utils.cpp:210:89: warning: conversion from 'unsigned int' to 'guchar' {aka 'unsigned char'} may change value [-Wconversion] 210 | dest_data[x * 4 + 2] = (((src[x] & 0x0000ffU) >> 0U) * 255 + alpha / 2) / alpha; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/util/pixbuf-utils.cpp:212:36: warning: conversion from 'guint' {aka 'unsigned int'} to 'guchar' {aka 'unsigned char'} may change value [-Wconversion] 212 | dest_data[x * 4 + 3] = alpha; | ^~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/util/pixbuf-utils.cpp: In function 'void convert_no_alpha(guchar*, int, guchar*, int, int, int, int, int)': /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/util/pixbuf-utils.cpp:228:43: warning: conversion from 'unsigned int' to 'guchar' {aka 'unsigned char'} may change value [-Wconversion] 228 | dest_data[x * 3 + 0] = src[x] >> 16U; | ~~~~~~~^~~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/util/pixbuf-utils.cpp:229:43: warning: conversion from 'unsigned int' to 'guchar' {aka 'unsigned char'} may change value [-Wconversion] 229 | dest_data[x * 3 + 1] = src[x] >> 8U; | ~~~~~~~^~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/util/pixbuf-utils.cpp:230:41: warning: conversion from 'unsigned int' to 'guchar' {aka 'unsigned char'} may change value [-Wconversion] 230 | dest_data[x * 3 + 2] = src[x]; | ~~~~~^ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/util/XojPreviewExtractor.cpp:18:40: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 18 | const int TAG_PREVIEW_NAME_LEN = strlen(TAG_PREVIEW_NAME); | ~~~~~~^~~~~~~~~~~~~~~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/util/XojPreviewExtractor.cpp:20:37: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 20 | const int TAG_PAGE_NAME_LEN = strlen(TAG_PAGE_NAME); | ~~~~~~^~~~~~~~~~~~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/util/XojPreviewExtractor.cpp:22:44: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 22 | const int TAG_PREVIEW_END_NAME_LEN = strlen(TAG_PREVIEW_END_NAME); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ [ 5%] Linking CXX static library libutil.a [ 5%] Built target util [ 5%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/audio/AudioPlayer.cpp.o [ 5%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/audio/AudioRecorder.cpp.o [ 6%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/audio/DeviceInfo.cpp.o [ 6%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/audio/PortAudioProducer.cpp.o [ 6%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/Actions.cpp.o [ 8%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/audio/VorbisProducer.cpp.o [ 8%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/audio/PortAudioConsumer.cpp.o [ 8%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/audio/VorbisConsumer.cpp.o [ 8%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/AudioController.cpp.o [ 8%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/ClipboardHandler.cpp.o [ 9%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/CompassController.cpp.o [ 9%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/Control.cpp.o /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/audio/VorbisConsumer.cpp: In instantiation of 'VorbisConsumer::start(const std::filesystem::__cxx11::path&):::: [with auto:2 = float]': /usr/include/g++/bits/stl_algo.h:3844:5: required from '_Funct std::for_each(_IIter, _IIter, _Funct) [with _IIter = __gnu_cxx::__normal_iterator >; _Funct = VorbisConsumer::start(const std::filesystem::__cxx11::path&)::::]' /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/audio/VorbisConsumer.cpp:56:107: required from here /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/audio/VorbisConsumer.cpp:56:92: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 56 | std::for_each(begin(buffer), end(buffer), [audioGain](auto& val) { val *= audioGain; }); | ~~~~^~~~~~~~~~~~ [ 9%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/CrashHandler.cpp.o [ 9%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/DeviceListHelper.cpp.o [ 10%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/ExportHelper.cpp.o [ 10%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/FullscreenHandler.cpp.o [ 10%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/GeometryToolController.cpp.o [ 10%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/LatexController.cpp.o [ 11%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/PageBackgroundChangeController.cpp.o [ 11%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/PdfCache.cpp.o [ 11%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/PrintHandler.cpp.o [ 11%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/RecentManager.cpp.o [ 12%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/ScrollHandler.cpp.o /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/control/Control.cpp: In member function 'virtual void Control::clipboardPasteImage(GdkPixbuf*)': /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/control/Control.cpp:2926:24: warning: 'void Image::setImage(GdkPixbuf*)' is deprecated [-Wdeprecated-declarations] 2926 | image->setImage(img); | ^ In file included from /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/control/Control.cpp:71: /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/model/Image.h:52:25: note: declared here 52 | [[deprecated]] void setImage(GdkPixbuf* img); | ^~~~~~~~ [ 12%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/SearchControl.cpp.o [ 12%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/SetsquareController.cpp.o [ 13%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/ToolBase.cpp.o [ 13%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/Tool.cpp.o [ 13%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/ToolEnums.cpp.o [ 13%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/ToolHandler.cpp.o [ 13%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/UndoRedoController.cpp.o [ 15%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/XournalMain.cpp.o [ 15%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/jobs/AutosaveJob.cpp.o [ 15%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/jobs/BaseExportJob.cpp.o [ 15%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/jobs/BlockingJob.cpp.o [ 16%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/jobs/CustomExportJob.cpp.o [ 16%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/jobs/ImageExport.cpp.o [ 16%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/jobs/Job.cpp.o [ 16%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/jobs/PdfExportJob.cpp.o [ 17%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/jobs/PreviewJob.cpp.o [ 17%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/jobs/RenderJob.cpp.o /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/control/jobs/ImageExport.cpp: In member function 'void ImageExport::exportGraphics(ProgressListener*)': /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/control/jobs/ImageExport.cpp:222:36: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 222 | stateListener->setMaximumState(selectedCount); | ^~~~~~~~~~~~~ [ 17%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/jobs/SaveJob.cpp.o [ 17%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/jobs/Scheduler.cpp.o [ 17%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/jobs/XournalScheduler.cpp.o [ 18%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/latex/LatexGenerator.cpp.o [ 18%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/layer/LayerController.cpp.o [ 18%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/layer/LayerCtrlListener.cpp.o [ 18%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/pagetype/PageTypeHandler.cpp.o [ 19%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/pagetype/PageTypeMenu.cpp.o /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/control/jobs/RenderJob.cpp: In member function 'void RenderJob::repaintPageArea(double, double, double, double) const': /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/control/jobs/RenderJob.cpp:103:53: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 103 | repaintWidgetArea(view->xournal->getWidget(), x + std::floor(zoom * x1), y + std::floor(zoom * y1), x + std::ceil(zoom * x2), y + std::ceil(zoom * y2)); | ~~^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/control/jobs/RenderJob.cpp:103:80: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 103 | repaintWidgetArea(view->xournal->getWidget(), x + std::floor(zoom * x1), y + std::floor(zoom * y1), x + std::ceil(zoom * x2), y + std::ceil(zoom * y2)); | ~~^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/control/jobs/RenderJob.cpp:103:107: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 103 | repaintWidgetArea(view->xournal->getWidget(), x + std::floor(zoom * x1), y + std::floor(zoom * y1), x + std::ceil(zoom * x2), y + std::ceil(zoom * y2)); | ~~^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/control/jobs/RenderJob.cpp:103:133: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 103 | repaintWidgetArea(view->xournal->getWidget(), x + std::floor(zoom * x1), y + std::floor(zoom * y1), x + std::ceil(zoom * x2), y + std::ceil(zoom * y2)); | ~~^~~~~~~~~~~~~~~~~~~~~~ [ 19%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/settings/ButtonConfig.cpp.o [ 19%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/settings/LatexSettings.cpp.o [ 19%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/settings/MetadataManager.cpp.o [ 20%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/settings/PageTemplateSettings.cpp.o [ 20%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/settings/Settings.cpp.o [ 20%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/settings/SettingsEnums.cpp.o [ 20%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/settings/ViewModes.cpp.o [ 22%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/shaperecognizer/CircleRecognizer.cpp.o [ 22%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/shaperecognizer/Inertia.cpp.o [ 22%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/shaperecognizer/RecoSegment.cpp.o [ 22%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/shaperecognizer/ShapeRecognizer.cpp.o [ 23%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/stockdlg/ImageOpenDlg.cpp.o [ 23%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/stockdlg/XojOpenDlg.cpp.o [ 23%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/tools/ArrowHandler.cpp.o /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/control/settings/MetadataManager.cpp: In static member function 'static MetadataEntry MetadataManager::loadMetadataFile(const std::filesystem::__cxx11::path&, const std::filesystem::__cxx11::path&)': /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/control/settings/MetadataManager.cpp:117:25: warning: conversion from 'long long int' to 'int' may change value [-Wconversion] 117 | entry.page = strtoll(line.substr(5).c_str(), nullptr, 10); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 23%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/tools/BaseShapeHandler.cpp.o /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/control/settings/PageTemplateSettings.cpp: In member function 'bool PageTemplateSettings::parse(const string&)': /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/control/settings/PageTemplateSettings.cpp:90:47: warning: conversion from 'long unsigned int' to 'uint32_t' {aka 'unsigned int'} may change value [-Wconversion] 90 | backgroundColor = Color(std::stoul(value.substr(1), nullptr, 16)); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 24%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/tools/CoordinateSystemHandler.cpp.o [ 24%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/tools/EditSelection.cpp.o /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/control/settings/Settings.cpp: In member function 'void Settings::parseItem(xmlDocPtr, xmlNodePtr)': /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/control/settings/Settings.cpp:402:43: warning: conversion from 'gint64' {aka 'long int'} to 'gint' {aka 'int'} may change value [-Wconversion] 402 | this->displayDpi = g_ascii_strtoll(reinterpret_cast(value), nullptr, 10); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/control/settings/Settings.cpp:404:45: warning: conversion from 'gint64' {aka 'long int'} to 'int' may change value [-Wconversion] 404 | this->mainWndWidth = g_ascii_strtoll(reinterpret_cast(value), nullptr, 10); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/control/settings/Settings.cpp:406:46: warning: conversion from 'gint64' {aka 'long int'} to 'int' may change value [-Wconversion] 406 | this->mainWndHeight = g_ascii_strtoll(reinterpret_cast(value), nullptr, 10); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/control/settings/Settings.cpp:423:59: warning: conversion from 'gint64' {aka 'long int'} to 'int' may change value [-Wconversion] 423 | this->sidebarWidth = std::max(g_ascii_strtoll(reinterpret_cast(value), nullptr, 10), 50); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/control/settings/Settings.cpp:431:43: warning: conversion from 'gint64' {aka 'long int'} to 'int' may change value [-Wconversion] 431 | this->numColumns = g_ascii_strtoll(reinterpret_cast(value), nullptr, 10); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/control/settings/Settings.cpp:433:40: warning: conversion from 'gint64' {aka 'long int'} to 'int' may change value [-Wconversion] 433 | this->numRows = g_ascii_strtoll(reinterpret_cast(value), nullptr, 10); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/control/settings/Settings.cpp:445:47: warning: conversion from 'gint64' {aka 'long int'} to 'int' may change value [-Wconversion] 445 | this->numPairsOffset = g_ascii_strtoll(reinterpret_cast(value), nullptr, 10); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/control/settings/Settings.cpp:461:54: warning: conversion from 'guint64' {aka 'long unsigned int'} to 'uint32_t' {aka 'unsigned int'} may change value [-Wconversion] 461 | this->cursorHighlightColor = g_ascii_strtoull(reinterpret_cast(value), nullptr, 10); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/control/settings/Settings.cpp:465:60: warning: conversion from 'guint64' {aka 'long unsigned int'} to 'uint32_t' {aka 'unsigned int'} may change value [-Wconversion] 465 | this->cursorHighlightBorderColor = g_ascii_strtoull(reinterpret_cast(value), nullptr, 10); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/control/settings/Settings.cpp:489:48: warning: conversion from 'gint64' {aka 'long int'} to 'int' may change value [-Wconversion] 489 | this->autosaveTimeout = g_ascii_strtoll(reinterpret_cast(value), nullptr, 10); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/control/settings/Settings.cpp:504:49: warning: conversion from 'gint64' {aka 'long int'} to 'int' may change value [-Wconversion] 504 | this->pdfPageCacheSize = g_ascii_strtoll(reinterpret_cast(value), nullptr, 10); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/control/settings/Settings.cpp:506:52: warning: conversion from 'guint64' {aka 'long unsigned int'} to 'unsigned int' may change value [-Wconversion] 506 | this->preloadPagesBefore = g_ascii_strtoull(reinterpret_cast(value), nullptr, 10); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/control/settings/Settings.cpp:508:51: warning: conversion from 'guint64' {aka 'long unsigned int'} to 'unsigned int' may change value [-Wconversion] 508 | this->preloadPagesAfter = g_ascii_strtoull(reinterpret_cast(value), nullptr, 10); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/control/settings/Settings.cpp:512:60: warning: conversion from 'guint64' {aka 'long unsigned int'} to 'uint32_t' {aka 'unsigned int'} may change value [-Wconversion] 512 | this->selectionBorderColor = Color(g_ascii_strtoull(reinterpret_cast(value), nullptr, 10)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/control/settings/Settings.cpp:514:60: warning: conversion from 'guint64' {aka 'long unsigned int'} to 'uint32_t' {aka 'unsigned int'} may change value [-Wconversion] 514 | this->selectionMarkerColor = Color(g_ascii_strtoull(reinterpret_cast(value), nullptr, 10)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/control/settings/Settings.cpp:516:55: warning: conversion from 'guint64' {aka 'long unsigned int'} to 'uint32_t' {aka 'unsigned int'} may change value [-Wconversion] 516 | this->backgroundColor = Color(g_ascii_strtoull(reinterpret_cast(value), nullptr, 10)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/control/settings/Settings.cpp:520:57: warning: conversion from 'gint64' {aka 'long int'} to 'int' may change value [-Wconversion] 520 | this->addHorizontalSpaceAmount = g_ascii_strtoll(reinterpret_cast(value), nullptr, 10); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/control/settings/Settings.cpp:524:55: warning: conversion from 'gint64' {aka 'long int'} to 'int' may change value [-Wconversion] 524 | this->addVerticalSpaceAmount = g_ascii_strtoll(reinterpret_cast(value), nullptr, 10); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/control/settings/Settings.cpp:528:50: warning: conversion from 'gint64' {aka 'long int'} to 'int' may change value [-Wconversion] 528 | this->drawDirModsRadius = g_ascii_strtoll(reinterpret_cast(value), nullptr, 10); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/control/settings/Settings.cpp:566:51: warning: conversion from 'double' to 'unsigned int' may change value [-Wfloat-conversion] 566 | this->defaultSeekTime = tempg_ascii_strtod(reinterpret_cast(value), nullptr); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/control/settings/Settings.cpp:568:49: warning: conversion from 'gint64' {aka 'long int'} to 'PaDeviceIndex' {aka 'int'} may change value [-Wconversion] 568 | this->audioInputDevice = g_ascii_strtoll(reinterpret_cast(value), nullptr, 10); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/control/settings/Settings.cpp:570:50: warning: conversion from 'gint64' {aka 'long int'} to 'PaDeviceIndex' {aka 'int'} may change value [-Wconversion] 570 | this->audioOutputDevice = g_ascii_strtoll(reinterpret_cast(value), nullptr, 10); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/control/settings/Settings.cpp:573:46: warning: conversion from 'gint64' {aka 'long int'} to 'int' may change value [-Wconversion] 573 | std::max(g_ascii_strtoll(reinterpret_cast(value), nullptr, 10), 0); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/control/settings/Settings.cpp:581:55: warning: conversion from 'gint64' {aka 'long int'} to 'int' may change value [-Wconversion] 581 | this->strokeFilterIgnoreTime = g_ascii_strtoll(reinterpret_cast(value), nullptr, 10); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/control/settings/Settings.cpp:585:59: warning: conversion from 'gint64' {aka 'long int'} to 'int' may change value [-Wconversion] 585 | this->strokeFilterSuccessiveTime = g_ascii_strtoll(reinterpret_cast(value), nullptr, 10); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/control/settings/Settings.cpp: In member function 'void Settings::save()': /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/control/settings/Settings.cpp:1084:20: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'unsigned int' may change value [-Wconversion] 1084 | SAVE_UINT_PROP(stabilizerBuffersize); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/control/settings/Settings.cpp:42:79: note: in definition of macro 'SAVE_UINT_PROP' 42 | #define SAVE_UINT_PROP(var) xmlNode = savePropertyUnsigned((const char*)#var, var, root) | ^~~ [ 24%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/tools/EditSelectionContents.cpp.o [ 24%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/tools/EllipseHandler.cpp.o [ 25%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/tools/EraseHandler.cpp.o [ 25%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/tools/ImageHandler.cpp.o /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/control/stockdlg/ImageOpenDlg.cpp: In static member function 'static GdkPixbuf* ImageOpenDlg::pixbufScaleDownIfNecessary(GdkPixbuf*, gint)': /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/control/stockdlg/ImageOpenDlg.cpp:71:23: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 71 | width = width * factor; | ~~~~~~^~~~~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/control/stockdlg/ImageOpenDlg.cpp:72:25: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 72 | height = height * factor; | ~~~~~~~^~~~~~~~ [ 25%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/tools/InputHandler.cpp.o [ 25%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/tools/PdfElemSelection.cpp.o [ 26%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/tools/RectangleHandler.cpp.o [ 26%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/tools/RulerHandler.cpp.o /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/control/tools/EraseHandler.cpp:27:50: warning: 'LegacyRedrawable' is deprecated [-Wdeprecated-declarations] 27 | LegacyRedrawable* view): | ^ In file included from /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/control/tools/EraseHandler.cpp:12: /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/LegacyRedrawable.h:31:22: note: declared here 31 | class [[deprecated]] LegacyRedrawable { | ^~~~~~~~~~~~~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/control/tools/EraseHandler.cpp: In member function 'void EraseHandler::eraseStroke(Layer*, Stroke*, double, double, Range&)': /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/control/tools/EraseHandler.cpp:120:54: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 120 | this->eraseUndoAction->addOriginal(l, s, pos); | ^~~ [ 26%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/tools/Selection.cpp.o [ 26%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/tools/SnapToGridInputHandler.cpp.o [ 27%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/tools/SplineHandler.cpp.o [ 27%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/tools/StrokeHandler.cpp.o [ 27%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/tools/StrokeStabilizer.cpp.o [ 27%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/tools/TextEditor.cpp.o [ 29%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/tools/VerticalToolHandler.cpp.o [ 29%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/xml/Attribute.cpp.o [ 29%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/xml/DoubleArrayAttribute.cpp.o /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/control/tools/Selection.cpp: In member function 'size_t Selection::finalize(PageRef)': /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/control/tools/Selection.cpp:23:54: warning: conversion from 'std::vector::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 23 | for (int layerNo = page->getLayers()->size() - 1; layerNo >= 0; layerNo--) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 29%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/xml/DoubleAttribute.cpp.o [ 30%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/xml/IntAttribute.cpp.o [ 30%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/xml/SizeTAttribute.cpp.o [ 30%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/xml/TextAttribute.cpp.o [ 30%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/xml/XmlAudioNode.cpp.o [ 31%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/xml/XmlImageNode.cpp.o [ 31%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/xml/XmlNode.cpp.o [ 31%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/xml/XmlPointNode.cpp.o [ 31%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/xml/XmlTexNode.cpp.o [ 32%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/xml/XmlTextNode.cpp.o [ 32%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/xojfile/LoadHandler.cpp.o [ 32%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/xojfile/LoadHandlerHelper.cpp.o [ 32%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/xojfile/SaveHandler.cpp.o [ 33%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/xojfile/XojExportHandler.cpp.o [ 33%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/zoom/ZoomControl.cpp.o [ 33%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/control/zoom/ZoomListener.cpp.o [ 33%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/enums/generated/ActionGroup.generated.cpp.o [ 33%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/enums/generated/ActionType.generated.cpp.o [ 34%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/FloatingToolbox.cpp.o [ 34%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/GladeGui.cpp.o [ 34%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/GladeSearchpath.cpp.o [ 34%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/IconNameHelper.cpp.o /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/control/xojfile/LoadHandler.cpp: In static member function 'static void LoadHandler::parserText(GMarkupParseContext*, const gchar*, gsize, gpointer, GError**)': /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/control/xojfile/LoadHandler.cpp:1037:52: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 1037 | if (handler->pressureBuffer.size() + 1 >= handler->stroke->getPointCount()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/control/xojfile/LoadHandler.cpp: In static member function 'static std::string LoadHandler::parseBase64(const gchar*, gsize)': /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/control/xojfile/LoadHandler.cpp:1067:68: warning: conversion from 'gsize' {aka 'long unsigned int'} to 'guint' {aka 'unsigned int'} may change value [-Wconversion] 1067 | auto* base64data = static_cast(g_memdup(base64, length + 1)); | ~~~~~~~^~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/control/xojfile/LoadHandlerHelper.cpp: In function 'int LoadHandlerHelper::getAttribInt(const char*, LoadHandler*)': /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/control/xojfile/LoadHandlerHelper.cpp:145:21: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 145 | int val = strtol(attrib, &ptr, 10); | ~~~~~~^~~~~~~~~~~~~~~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/control/xojfile/LoadHandlerHelper.cpp: In function 'bool LoadHandlerHelper::getAttribInt(const char*, bool, LoadHandler*, int&)': /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/control/xojfile/LoadHandlerHelper.cpp:164:21: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 164 | int val = strtol(attrib, &ptr, 10); | ~~~~~~^~~~~~~~~~~~~~~~~~ [ 36%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/Layout.cpp.o [ 36%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/LayoutMapper.cpp.o [ 36%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/LegacyRedrawable.cpp.o [ 36%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/MainWindow.cpp.o [ 37%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/PagePreviewDecoration.cpp.o [ 37%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/PageView.cpp.o [ 37%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/PdfFloatingToolbox.cpp.o [ 37%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/RepaintHandler.cpp.o /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/LayoutMapper.cpp: In function 'void calculate(LayoutSettings&, size_t, size_t, bool, uint32_t)': /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/LayoutMapper.cpp:113:43: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'uint32_t' {aka 'unsigned int'} may change value [-Wconversion] 113 | data.offset = firstPageOffset % (2 * data.rows); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/LayoutMapper.cpp:115:43: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'uint32_t' {aka 'unsigned int'} may change value [-Wconversion] 115 | data.offset = firstPageOffset % data.rows; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/LayoutMapper.cpp:119:39: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'uint32_t' {aka 'unsigned int'} may change value [-Wconversion] 119 | data.offset = firstPageOffset % data.cols; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~ [ 38%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/SearchBar.cpp.o [ 38%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/Shadow.cpp.o [ 38%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/ToolitemDragDrop.cpp.o [ 38%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/XojColor.cpp.o In file included from /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/PageView.cpp:35: /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/control/tools/EraseHandler.h:29:40: warning: 'LegacyRedrawable' is deprecated [-Wdeprecated-declarations] 29 | LegacyRedrawable* view); | ^ In file included from /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/PageView.h:33, from /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/PageView.cpp:1: /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/LegacyRedrawable.h:31:22: note: declared here 31 | class [[deprecated]] LegacyRedrawable { | ^~~~~~~~~~~~~~~~ In file included from /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/PageView.cpp:35: /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/control/tools/EraseHandler.h:42:23: warning: 'LegacyRedrawable' is deprecated [-Wdeprecated-declarations] 42 | LegacyRedrawable* view; | ^~~~ In file included from /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/PageView.h:33, from /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/PageView.cpp:1: /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/LegacyRedrawable.h:31:22: note: declared here 31 | class [[deprecated]] LegacyRedrawable { | ^~~~~~~~~~~~~~~~ [ 39%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/XournalView.cpp.o [ 39%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/XournalppCursor.cpp.o [ 39%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/dialog/AboutDialog.cpp.o [ 39%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/dialog/ButtonConfigGui.cpp.o [ 40%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/dialog/DeviceClassConfigGui.cpp.o [ 40%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/dialog/ExportDialog.cpp.o /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/SearchBar.cpp: In member function 'void SearchBar::showSearchBar(bool)': /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/SearchBar.cpp:164:61: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 164 | for (int i = control->getDocument()->getPageCount() - 1; i >= 0; i--) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 40%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/dialog/FillOpacityDialog.cpp.o [ 40%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/dialog/FormatDialog.cpp.o [ 41%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/dialog/GotoDialog.cpp.o /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/XournalView.cpp: In member function 'virtual void XournalView::pageSelected(size_t)': /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/XournalView.cpp:381:56: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 381 | control->getMetadataManager()->storeMetadata(file, page, getZoom()); | ^~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/XournalView.cpp: In member function 'void XournalView::scrollTo(size_t, double)': /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/XournalView.cpp:433:23: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 433 | int y = v->getY() + std::lround(yDocument); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/XournalView.cpp: In member function 'virtual void XournalView::zoomChanged()': /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/XournalView.cpp:566:70: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 566 | control->getMetadataManager()->storeMetadata(file, getCurrentPage(), zoom->getZoomReal()); | ~~~~~~~~~~~~~~^~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/XournalView.cpp: In member function 'void XournalView::deleteSelection(EditSelection*)': /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/XournalView.cpp:652:22: warning: unused variable 'view' [-Wunused-variable] 652 | XojPageView* view = sel->getView(); | ^~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/XournalView.cpp: In member function 'void XournalView::layoutPages()': /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/XournalView.cpp:731:77: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 731 | layout->layoutPages(std::max(layout->getMinimalWidth(), std::lround(rectangle.width)), | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/XournalView.cpp:732:78: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 732 | std::max(layout->getMinimalHeight(), std::lround(rectangle.height))); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/XournalView.cpp: In member function 'bool XournalView::isPageVisible(size_t, int*) const': /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/XournalView.cpp:751:41: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 751 | *visibleHeight = std::lround(rect->height); | ~~~~~~~~~~~^~~~~~~~~~~~~~ [ 41%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/dialog/LanguageConfigGui.cpp.o /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/dialog/ButtonConfigGui.cpp: In member function 'void ButtonConfigGui::saveSettings()': /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/dialog/ButtonConfigGui.cpp:267:59: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 267 | cfg->device = (dev < 0 || this->deviceList.size() <= dev) ? "" : this->deviceList[dev].getName(); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ [ 41%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/dialog/LatexDialog.cpp.o [ 41%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/dialog/LatexSettingsPanel.cpp.o /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/XournalppCursor.cpp: In member function 'GdkCursor* XournalppCursor::getEraserCursor()': /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/XournalppCursor.cpp:394:80: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 394 | cairo_surface_t* surface = cairo_image_surface_create(CAIRO_FORMAT_ARGB32, cursorSize, cursorSize); | ^~~~~~~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/XournalppCursor.cpp:394:92: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 394 | cairo_surface_t* surface = cairo_image_surface_create(CAIRO_FORMAT_ARGB32, cursorSize, cursorSize); | ^~~~~~~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/XournalppCursor.cpp: In member function 'void XournalppCursor::setCursor(int)': /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/XournalppCursor.cpp:525:18: warning: comparison of integer expressions of different signedness: 'int' and 'guint' {aka 'unsigned int'} [-Wsign-compare] 525 | if (cursorID == this->currentCursor) { | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/XournalppCursor.cpp: In member function 'GdkCursor* XournalppCursor::createCustomDrawDirCursor(int, bool, bool)': /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/XournalppCursor.cpp:579:21: warning: comparison of integer expressions of different signedness: 'int' and 'guint' {aka 'unsigned int'} [-Wsign-compare] 579 | if (newCursorID == this->currentCursor && flavour == this->currentCursorFlavour) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ [ 43%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/dialog/PageTemplateDialog.cpp.o [ 43%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/dialog/PluginDialog.cpp.o [ 43%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/dialog/PluginDialogEntry.cpp.o /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/dialog/GotoDialog.cpp: In member function 'virtual void GotoDialog::show(GtkWindow*)': /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/dialog/GotoDialog.cpp:26:55: warning: conversion from 'gdouble' {aka 'double'} to 'int' may change value [-Wfloat-conversion] 26 | this->selectedPage = gtk_spin_button_get_value(GTK_SPIN_BUTTON(get("spinPage"))); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 43%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/dialog/RenameLayerDialog.cpp.o [ 44%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/dialog/SelectBackgroundColorDialog.cpp.o /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/dialog/LanguageConfigGui.cpp: In constructor 'LanguageConfigGui::LanguageConfigGui(GladeSearchpath*, GtkWidget*, Settings*)': /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/dialog/LanguageConfigGui.cpp:72:63: warning: conversion from '__gnu_cxx::__normal_iterator*, std::vector > >::difference_type' {aka 'long int'} to 'gint' {aka 'int'} may change value [-Wconversion] 72 | gtk_combo_box_set_active(GTK_COMBO_BOX(dropdown), prefPos - availableLocales.begin()); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ [ 44%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/dialog/SettingsDialog.cpp.o [ 44%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/dialog/ToolbarManageDialog.cpp.o [ 44%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/dialog/backgroundSelect/BackgroundSelectDialogBase.cpp.o [ 45%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/dialog/backgroundSelect/BaseElementView.cpp.o [ 45%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/dialog/backgroundSelect/ImageElementView.cpp.o [ 45%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/dialog/backgroundSelect/ImagesDialog.cpp.o [ 45%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/dialog/backgroundSelect/PdfElementView.cpp.o /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/dialog/SelectBackgroundColorDialog.cpp: In member function 'void SelectBackgroundColorDialog::show(GtkWindow*)': /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/dialog/SelectBackgroundColorDialog.cpp:118:118: warning: conversion from 'std::array<_GdkRGBA, 9>::size_type' {aka 'long unsigned int'} to 'gint' {aka 'int'} may change value [-Wconversion] 118 | gtk_color_chooser_add_palette(GTK_COLOR_CHOOSER(dialog), GTK_ORIENTATION_HORIZONTAL, 9, lastBackgroundColors.size(), | ~~~~~~~~~~~~~~~~~~~~~~~~~^~ [ 46%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/dialog/backgroundSelect/PdfPagesDialog.cpp.o /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/dialog/backgroundSelect/BackgroundSelectDialogBase.cpp: In member function 'void BackgroundSelectDialogBase::layout()': /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/dialog/backgroundSelect/BackgroundSelectDialogBase.cpp:71:76: warning: conversion from 'double' to 'gint' {aka 'int'} may change value [-Wfloat-conversion] 71 | gtk_layout_move(GTK_LAYOUT(this->layoutContainer), p->getWidget(), x, y); | ^ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/dialog/backgroundSelect/BackgroundSelectDialogBase.cpp:71:79: warning: conversion from 'double' to 'gint' {aka 'int'} may change value [-Wfloat-conversion] 71 | gtk_layout_move(GTK_LAYOUT(this->layoutContainer), p->getWidget(), x, y); | ^ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/dialog/backgroundSelect/BackgroundSelectDialogBase.cpp:80:60: warning: conversion from 'double' to 'guint' {aka 'unsigned int'} may change value [-Wfloat-conversion] 80 | gtk_layout_set_size(GTK_LAYOUT(this->layoutContainer), max_row_width, y + row_height); | ^~~~~~~~~~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/dialog/backgroundSelect/BackgroundSelectDialogBase.cpp:80:77: warning: conversion from 'double' to 'guint' {aka 'unsigned int'} may change value [-Wfloat-conversion] 80 | gtk_layout_set_size(GTK_LAYOUT(this->layoutContainer), max_row_width, y + row_height); | ~~^~~~~~~~~~~~ [ 46%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/dialog/toolbarCustomize/ToolItemDragCurrentData.cpp.o [ 46%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/dialog/toolbarCustomize/ToolbarAdapter.cpp.o /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/dialog/backgroundSelect/PdfElementView.cpp: In member function 'virtual int PdfElementView::getContentWidth()': /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/dialog/backgroundSelect/PdfElementView.cpp:31:73: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 31 | auto PdfElementView::getContentWidth() -> int { return page->getWidth() * PdfPagesDialog::getZoom(); } | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/dialog/backgroundSelect/PdfElementView.cpp: In member function 'virtual int PdfElementView::getContentHeight()': /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/dialog/backgroundSelect/PdfElementView.cpp:33:75: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 33 | auto PdfElementView::getContentHeight() -> int { return page->getHeight() * PdfPagesDialog::getZoom(); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 46%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/dialog/toolbarCustomize/ToolbarCustomizeDialog.cpp.o [ 47%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/dialog/toolbarCustomize/ToolbarDragDropHandler.cpp.o /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/dialog/backgroundSelect/ImageElementView.cpp: In member function 'virtual void ImageElementView::calcSize()': /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/dialog/backgroundSelect/ImageElementView.cpp:26:21: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 26 | this->width *= zoom; | ~~~~~~~~~~~~^~~~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/dialog/backgroundSelect/ImageElementView.cpp:27:22: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 27 | this->height *= zoom; | ~~~~~~~~~~~~~^~~~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/dialog/backgroundSelect/ImagesDialog.cpp: In member function 'void ImagesDialog::loadImagesFromPages()': /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/dialog/backgroundSelect/ImagesDialog.cpp:51:60: warning: conversion from 'std::vector::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 51 | auto* iv = new ImageElementView(this->elements.size(), this); | ~~~~~~~~~~~~~~~~~~~^~ [ 47%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/dialog/toolbarCustomize/ToolbarDragDropHelper.cpp.o [ 47%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/inputdevices/AbstractInputHandler.cpp.o [ 47%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/inputdevices/CompassInputHandler.cpp.o [ 48%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/inputdevices/DeviceId.cpp.o /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/dialog/backgroundSelect/PdfPagesDialog.cpp: In constructor 'PdfPagesDialog::PdfPagesDialog(GladeSearchpath*, Document*, Settings*)': /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/dialog/backgroundSelect/PdfPagesDialog.cpp:29:52: warning: conversion from 'std::vector::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 29 | auto* pv = new PdfElementView(elements.size(), p, this); | ~~~~~~~~~~~~~^~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/dialog/backgroundSelect/PdfPagesDialog.cpp: In member function 'virtual void PdfPagesDialog::setSelected(int)': /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/dialog/backgroundSelect/PdfPagesDialog.cpp:108:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 108 | if (selected < this->elements.size()) { | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ [ 48%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/inputdevices/GeometryToolInputHandler.cpp.o [ 48%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/inputdevices/HandRecognition.cpp.o [ 48%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/inputdevices/InputContext.cpp.o [ 50%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/inputdevices/InputEvents.cpp.o [ 50%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/inputdevices/InputUtils.cpp.o [ 50%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/inputdevices/KeyboardInputHandler.cpp.o [ 50%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/inputdevices/MouseInputHandler.cpp.o [ 51%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/inputdevices/PenInputHandler.cpp.o /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/inputdevices/HandRecognition.cpp: In static member function 'static bool HandRecognition::enableTimeout(HandRecognition*)': /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/inputdevices/HandRecognition.cpp:120:19: warning: conversion from 'long int' to 'guint' {aka 'unsigned int'} may change value [-Wconversion] 120 | g_timeout_add(nextTime, xoj::util::wrap_v, self); | ^~~~~~~~ [ 51%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/inputdevices/PositionInputData.cpp.o [ 51%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/inputdevices/SetsquareInputHandler.cpp.o [ 51%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/inputdevices/StylusInputHandler.cpp.o [ 51%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/inputdevices/TouchDrawingInputHandler.cpp.o [ 52%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/inputdevices/TouchInputHandler.cpp.o [ 52%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/inputdevices/touchdisable/TouchDisableCustom.cpp.o [ 52%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/inputdevices/touchdisable/TouchDisableInterface.cpp.o [ 52%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/inputdevices/touchdisable/TouchDisableX11.cpp.o [ 53%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/menus/menubar/Menubar.cpp.o /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/inputdevices/PenInputHandler.cpp: In member function 'bool PenInputHandler::actionEnd(const InputEvent&)': /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/inputdevices/PenInputHandler.cpp:369:89: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 369 | const bool fastEnoughTap = event.timestamp - this->lastActionStartTimeStamp < tapMaxDuration; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/inputdevices/PenInputHandler.cpp:370:89: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 370 | const bool notAnAftershock = event.timestamp - this->lastActionEndTimeStamp > filterRepetitionTime; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ [ 53%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/menus/menubar/PluginsSubmenu.cpp.o [ 53%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/menus/menubar/RecentDocumentsSubmenu.cpp.o [ 53%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/menus/menubar/ToolbarSelectionSubmenu.cpp.o [ 54%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/scroll/ScrollHandling.cpp.o [ 54%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/sidebar/AbstractSidebarPage.cpp.o [ 54%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/sidebar/Sidebar.cpp.o [ 54%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/sidebar/indextree/SidebarIndexPage.cpp.o [ 55%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/sidebar/previews/base/SidebarBaseContextMenu.cpp.o [ 55%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/sidebar/previews/base/SidebarLayout.cpp.o [ 55%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/sidebar/previews/base/SidebarPreviewBase.cpp.o [ 55%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/sidebar/previews/base/SidebarPreviewBaseEntry.cpp.o [ 56%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/sidebar/previews/base/SidebarToolbar.cpp.o [ 56%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/sidebar/previews/layer/SidebarLayersContextMenu.cpp.o [ 56%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/sidebar/previews/layer/SidebarPreviewLayerEntry.cpp.o /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/sidebar/indextree/SidebarIndexPage.cpp: In static member function 'static gboolean SidebarIndexPage::treeSearchFunction(GtkTreeModel*, gint, const gchar*, GtkTreeIter*, SidebarIndexPage*)': /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/sidebar/indextree/SidebarIndexPage.cpp:151:43: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 151 | pango_get_log_attrs(normalized, strlen(normalized), -1, nullptr, log_attrs, len + 1); | ~~~~~~^~~~~~~~~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/sidebar/indextree/SidebarIndexPage.cpp:151:85: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 151 | pango_get_log_attrs(normalized, strlen(normalized), -1, nullptr, log_attrs, len + 1); | ~~~~^~~ [ 56%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/sidebar/previews/layer/SidebarPreviewLayers.cpp.o [ 58%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/sidebar/previews/page/SidebarPreviewPageEntry.cpp.o [ 58%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/sidebar/previews/page/SidebarPreviewPages.cpp.o /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/sidebar/previews/base/SidebarLayout.cpp: In member function 'int SidebarRow::getCount()': /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/sidebar/previews/base/SidebarLayout.cpp:47:52: warning: conversion from 'std::__cxx11::list::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 47 | auto getCount() -> int { return this->list.size(); } | ~~~~~~~~~~~~~~~^~ [ 58%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/toolbarMenubar/AbstractItem.cpp.o [ 58%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/toolbarMenubar/AbstractSliderItem.cpp.o /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/sidebar/previews/base/SidebarPreviewBaseEntry.cpp: In member function 'virtual void SidebarPreviewBaseEntry::paint(cairo_t*)': /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/sidebar/previews/base/SidebarPreviewBaseEntry.cpp:138:102: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 138 | Shadow::drawShadow(cr, Shadow::getShadowTopLeftSize(), Shadow::getShadowTopLeftSize(), width + 4, height + 4); | ~~~~~~^~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/sidebar/previews/base/SidebarPreviewBaseEntry.cpp:138:114: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 138 | Shadow::drawShadow(cr, Shadow::getShadowTopLeftSize(), Shadow::getShadowTopLeftSize(), width + 4, height + 4); | ~~~~~~~^~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/sidebar/previews/base/SidebarPreviewBaseEntry.cpp:141:104: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 141 | Shadow::drawShadow(cr, Shadow::getShadowTopLeftSize() + 2, Shadow::getShadowTopLeftSize() + 2, width, height); | ^~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/sidebar/previews/base/SidebarPreviewBaseEntry.cpp:141:111: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 141 | Shadow::drawShadow(cr, Shadow::getShadowTopLeftSize() + 2, Shadow::getShadowTopLeftSize() + 2, width, height); | ^~~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/sidebar/previews/base/SidebarPreviewBaseEntry.cpp: In member function 'virtual int SidebarPreviewBaseEntry::getWidgetWidth()': /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/sidebar/previews/base/SidebarPreviewBaseEntry.cpp:156:120: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 156 | return page->getWidth() * sidebar->getZoom() + Shadow::getShadowBottomRightSize() + Shadow::getShadowTopLeftSize() + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 157 | 4; | ~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/sidebar/previews/base/SidebarPreviewBaseEntry.cpp: In member function 'virtual int SidebarPreviewBaseEntry::getWidgetHeight()': /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/sidebar/previews/base/SidebarPreviewBaseEntry.cpp:162:43: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 161 | return page->getHeight() * sidebar->getZoom() + Shadow::getShadowBottomRightSize() + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 162 | Shadow::getShadowTopLeftSize() + 4; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 59%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/toolbarMenubar/AbstractToolItem.cpp.o [ 59%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/toolbarMenubar/ColorToolItem.cpp.o [ 59%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/toolbarMenubar/FontButton.cpp.o [ 59%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/toolbarMenubar/MenuItem.cpp.o /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/sidebar/previews/page/SidebarPreviewPageEntry.cpp: In member function 'virtual int SidebarPreviewPageEntry::getWidgetHeight()': /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/sidebar/previews/page/SidebarPreviewPageEntry.cpp:42:59: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 42 | return SidebarPreviewBaseEntry::getWidgetHeight() + PagePreviewDecoration::MARGIN_BOTTOM; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 60%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/toolbarMenubar/PluginToolButon.cpp.o [ 60%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/toolbarMenubar/ToolButton.cpp.o [ 60%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/toolbarMenubar/ToolDrawCombocontrol.cpp.o [ 60%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/toolbarMenubar/ToolMenuHandler.cpp.o /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/sidebar/previews/page/SidebarPreviewPages.cpp: In destructor 'virtual SidebarPreviewPages::~SidebarPreviewPages()': /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/sidebar/previews/page/SidebarPreviewPages.cpp:68:44: warning: conversion from 'std::__tuple_element_t<1, std::tuple<_GtkWidget*, long unsigned int, std::unique_ptr > > >' {aka 'long unsigned int'} to 'guint' {aka 'unsigned int'} may change value [-Wconversion] 68 | const guint handlerId = std::get<1>(signalTuple); | ~~~~~~~~~~~^~~~~~~~~~~~~ [ 61%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/toolbarMenubar/ToolPageLayer.cpp.o [ 61%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/toolbarMenubar/ToolPageSpinner.cpp.o [ 61%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/toolbarMenubar/ToolPdfCombocontrol.cpp.o [ 61%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/toolbarMenubar/ToolSelectCombocontrol.cpp.o [ 62%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/toolbarMenubar/ToolZoomSlider.cpp.o [ 62%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/toolbarMenubar/icon/ColorSelectImage.cpp.o [ 62%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/toolbarMenubar/icon/ToolbarSeparatorImage.cpp.o [ 62%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/toolbarMenubar/model/ColorPalette.cpp.o [ 63%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/toolbarMenubar/model/ToolbarData.cpp.o [ 63%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/toolbarMenubar/model/ToolbarEntry.cpp.o [ 63%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/toolbarMenubar/model/ToolbarItem.cpp.o [ 63%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/toolbarMenubar/model/ToolbarModel.cpp.o [ 65%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/widgets/PopupMenuButton.cpp.o [ 65%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/widgets/SpinPageAdapter.cpp.o [ 65%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/widgets/XournalWidget.cpp.o [ 65%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/widgets/ZoomCallib.cpp.o [ 66%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/gui/widgets/gtkmenutooltogglebutton.cpp.o [ 66%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/model/AudioElement.cpp.o [ 66%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/model/BackgroundConfig.cpp.o [ 66%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/model/BackgroundImage.cpp.o [ 67%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/model/Compass.cpp.o /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/widgets/SpinPageAdapter.cpp: In static member function 'static void SpinPageAdapter::pageNrSpinChangedCallback(GtkSpinButton*, SpinPageAdapter*)': /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/widgets/SpinPageAdapter.cpp:27:71: warning: comparison of integer expressions of different signedness: 'gint' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 27 | if (gtk_spin_button_get_value_as_int(GTK_SPIN_BUTTON(spinbutton)) == static_cast(adapter->page)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/widgets/SpinPageAdapter.cpp: In member function 'int SpinPageAdapter::getPage() const': /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/widgets/SpinPageAdapter.cpp:64:61: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 64 | auto SpinPageAdapter::getPage() const -> int { return this->page; } | ~~~~~~^~~~ [ 67%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/model/Document.cpp.o [ 67%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/model/DocumentHandler.cpp.o [ 67%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/model/DocumentListener.cpp.o [ 67%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/model/Element.cpp.o [ 68%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/model/Font.cpp.o [ 68%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/model/FormatDefinitions.cpp.o /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/widgets/XournalWidget.cpp: In function 'gboolean gtk_xournal_draw(GtkWidget*, cairo_t*)': /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/widgets/XournalWidget.cpp:286:27: warning: 'LegacyRedrawable' is deprecated [-Wdeprecated-declarations] 286 | LegacyRedrawable* red = xournal->selection->getView(); | ^~~ In file included from /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/widgets/XournalWidget.cpp:15: /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/gui/LegacyRedrawable.h:31:22: note: declared here 31 | class [[deprecated]] LegacyRedrawable { | ^~~~~~~~~~~~~~~~ [ 68%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/model/Image.cpp.o [ 68%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/model/GeometryTool.cpp.o [ 69%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/model/Layer.cpp.o [ 69%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/model/LineStyle.cpp.o [ 69%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/model/LinkDestination.cpp.o [ 69%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/model/PageHandler.cpp.o [ 70%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/model/PageListener.cpp.o [ 70%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/model/PageType.cpp.o [ 70%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/model/Point.cpp.o [ 70%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/model/Setsquare.cpp.o [ 72%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/model/Snapping.cpp.o [ 72%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/model/SplineSegment.cpp.o [ 72%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/model/Stroke.cpp.o [ 72%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/model/StrokeStyle.cpp.o [ 73%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/model/TexImage.cpp.o [ 73%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/model/Text.cpp.o [ 73%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/model/XojPage.cpp.o [ 73%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/model/eraser/ErasableStroke.cpp.o [ 74%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/model/eraser/ErasableStrokeOverlapTree.cpp.o [ 74%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/pdf/base/XojCairoPdfExport.cpp.o /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/model/Stroke.cpp: In member function 'virtual void Stroke::serialize(ObjectOutputStream&) const': /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/model/Stroke.cpp:179:57: warning: conversion from 'std::vector::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 179 | out.writeData(this->points.data(), this->points.size(), sizeof(Point)); | ~~~~~~~~~~~~~~~~~^~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/model/Stroke.cpp: In member function 'int Stroke::getPointCount() const': /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/model/Stroke.cpp:256:69: warning: conversion from 'std::vector::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 256 | auto Stroke::getPointCount() const -> int { return this->points.size(); } | ~~~~~~~~~~~~~~~~~^~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/model/Stroke.cpp: In member function 'Point Stroke::getPoint(int) const': /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/model/Stroke.cpp:266:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 266 | if (index < 0 || index >= this->points.size()) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/model/Stroke.cpp: In member function 'double Stroke::getAvgPressure() const': /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/model/Stroke.cpp:376:29: warning: conversion from 'std::vector::size_type' {aka 'long unsigned int'} to 'double' may change value [-Wconversion] 376 | this->points.size(); | ~~~~~~~~~~~~~~~~~^~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/model/Stroke.cpp: In lambda function: /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/model/Stroke.cpp:773:85: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] 773 | testPoint = this->getPoint((paramStart.index + paramLast.index + 1) / 2); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 74%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/pdf/base/XojPdfAction.cpp.o /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/model/TexImage.cpp: In member function 'bool TexImage::loadData(std::string&&, GError**)': /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/model/TexImage.cpp:91:102: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 91 | this->pdf.reset(poppler_document_new_from_data(this->binaryData.data(), this->binaryData.size(), nullptr, err), | ~~~~~~~~~~~~~~~~~~~~~^~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/model/TexImage.cpp:91:118: warning: 'PopplerDocument* poppler_document_new_from_data(char*, int, const char*, GError**)' is deprecated: Use poppler_document_new_from_bytes instead [-Wdeprecated-declarations] 91 | this->pdf.reset(poppler_document_new_from_data(this->binaryData.data(), this->binaryData.size(), nullptr, err), | ^ In file included from /usr/pkg/include/poppler/glib/poppler.h:250, from /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/model/TexImage.h:18, from /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/model/TexImage.cpp:1: /usr/pkg/include/poppler/glib/poppler-document.h:298:18: note: declared here 298 | PopplerDocument *poppler_document_new_from_data(char *data, int length, const char *password, GError **error) G_GNUC_DEPRECATED_FOR(poppler_document_new_from_bytes); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 74%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/pdf/base/XojPdfBookmarkIterator.cpp.o [ 75%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/pdf/base/XojPdfDocument.cpp.o [ 75%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/pdf/base/XojPdfDocumentInterface.cpp.o [ 75%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/pdf/base/XojPdfExport.cpp.o [ 75%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/pdf/base/XojPdfExportFactory.cpp.o [ 76%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/pdf/base/XojPdfPage.cpp.o /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/model/eraser/ErasableStrokeOverlapTree.cpp: In member function 'void ErasableStroke::OverlapTree::Populator::populate(const SubSection&, ErasableStroke::OverlapTree::Node&)': /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/model/eraser/ErasableStrokeOverlapTree.cpp:57:108: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 57 | root.initializeOnSegment(this->stroke.getPoint(section.min), this->stroke.getPoint(section.max.index)); | ~~~~~~~~~~~~^~~~~ [ 76%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/pdf/popplerapi/PopplerGlibAction.cpp.o [ 76%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/pdf/popplerapi/PopplerGlibDocument.cpp.o [ 76%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/pdf/popplerapi/PopplerGlibPage.cpp.o /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/pdf/base/XojCairoPdfExport.cpp: In member function 'virtual bool XojCairoPdfExport::createPdf(const std::filesystem::__cxx11::path&, const PageRangeVector&, bool)': /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/pdf/base/XojCairoPdfExport.cpp:207:49: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 207 | this->progressListener->setMaximumState(count); | ^~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/pdf/base/XojCairoPdfExport.cpp:221:58: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 221 | this->progressListener->setCurrentState(c++); | ~^~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/pdf/base/XojCairoPdfExport.cpp: In member function 'virtual bool XojCairoPdfExport::createPdf(const std::filesystem::__cxx11::path&, bool)': /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/pdf/base/XojCairoPdfExport.cpp:244:49: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] 244 | this->progressListener->setMaximumState(count); | ^~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/pdf/base/XojCairoPdfExport.cpp:255:53: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] 255 | this->progressListener->setCurrentState(i); | ^ [ 77%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/pdf/popplerapi/PopplerGlibPageBookmarkIterator.cpp.o [ 77%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/plugin/Plugin.cpp.o [ 77%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/plugin/PluginController.cpp.o [ 77%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/undo/AddUndoAction.cpp.o [ 79%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/undo/ArrangeUndoAction.cpp.o /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/pdf/popplerapi/PopplerGlibDocument.cpp: In member function 'virtual bool PopplerGlibDocument::load(gpointer, gsize, std::string, GError**)': /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/pdf/popplerapi/PopplerGlibDocument.cpp:81:119: warning: 'PopplerDocument* poppler_document_new_from_data(char*, int, const char*, GError**)' is deprecated: Use poppler_document_new_from_bytes instead [-Wdeprecated-declarations] 81 | poppler_document_new_from_data(static_cast(data), static_cast(length), password.c_str(), error); | ^ In file included from /usr/pkg/include/poppler/glib/poppler.h:250, from /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/pdf/popplerapi/PopplerGlibDocument.h:18, from /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/pdf/popplerapi/PopplerGlibDocument.cpp:1: /usr/pkg/include/poppler/glib/poppler-document.h:298:18: note: declared here 298 | PopplerDocument *poppler_document_new_from_data(char *data, int length, const char *password, GError **error) G_GNUC_DEPRECATED_FOR(poppler_document_new_from_bytes); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 79%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/undo/ColorUndoAction.cpp.o [ 79%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/undo/CopyUndoAction.cpp.o [ 79%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/undo/DeleteUndoAction.cpp.o /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/pdf/popplerapi/PopplerGlibPage.cpp: In function 'PopplerSelectionStyle getPopplerSelectionStyle(XojPdfPageSelectionStyle)': /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/pdf/popplerapi/PopplerGlibPage.cpp:113:1: warning: control reaches end of non-void function [-Wreturn-type] 113 | } | ^ [ 80%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/undo/EmergencySaveRestore.cpp.o In file included from /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/plugin/Plugin.h:33, from /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/plugin/Plugin.cpp:1: /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/plugin/luapi_application.h: In function 'int applib_msgbox(lua_State*)': /pbulk/work/editors/xournalpp/work/.buildlink/include/lua-5.3/lua.h:341:42: warning: conversion from 'lua_Integer' {aka 'long long int'} to 'int' may change value [-Wconversion] 341 | #define lua_tointeger(L,i) lua_tointegerx(L,(i),NULL) | ~~~~~~~~~~~~~~^~~~~~~~~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/plugin/luapi_application.h:205:21: note: in expansion of macro 'lua_tointeger' 205 | int index = lua_tointeger(L, -2); | ^~~~~~~~~~~~~ In file included from /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/plugin/Plugin.cpp:32: /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/plugin/luapi_application.h: In function 'int applib_registerUi(lua_State*)': /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/plugin/luapi_application.h:274:38: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 274 | int menuId = plugin->registerMenu(menu, callback, mode, accelerator); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/plugin/Plugin.h:33, from /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/plugin/Plugin.cpp:1: /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/plugin/luapi_application.h: In function 'void addStrokeHelper(lua_State*, Stroke*)': /pbulk/work/editors/xournalpp/work/.buildlink/include/lua-5.3/lua.h:341:42: warning: conversion from 'lua_Integer' {aka 'long long int'} to 'uint32_t' {aka 'unsigned int'} may change value [-Wconversion] 341 | #define lua_tointeger(L,i) lua_tointegerx(L,(i),NULL) | ~~~~~~~~~~~~~~^~~~~~~~~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/plugin/luapi_application.h:516:32: note: in expansion of macro 'lua_tointeger' 516 | stroke->setColor(Color(lua_tointeger(L, -3))); | ^~~~~~~~~~~~~ /pbulk/work/editors/xournalpp/work/.buildlink/include/lua-5.3/lua.h:341:42: warning: conversion from 'lua_Integer' {aka 'long long int'} to 'int' may change value [-Wconversion] 341 | #define lua_tointeger(L,i) lua_tointegerx(L,(i),NULL) | ~~~~~~~~~~~~~~^~~~~~~~~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/plugin/luapi_application.h:522:25: note: in expansion of macro 'lua_tointeger' 522 | stroke->setFill(lua_tointeger(L, -2)); | ^~~~~~~~~~~~~ In file included from /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/plugin/Plugin.cpp:32: /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/plugin/luapi_application.h: In function 'int applib_addSplines(lua_State*)': /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/plugin/luapi_application.h:604:27: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'lua_Number' {aka 'double'} may change value [-Wconversion] 604 | lua_pushnumber(L, a); | ^ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/plugin/luapi_application.h:611:31: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'lua_Number' {aka 'double'} may change value [-Wconversion] 611 | lua_pushnumber(L, b); | ^ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/plugin/luapi_application.h: In function 'int applib_addStrokes(lua_State*)': /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/plugin/luapi_application.h:737:27: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'lua_Number' {aka 'double'} may change value [-Wconversion] 737 | lua_pushnumber(L, a); | ^ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/plugin/luapi_application.h:745:31: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'lua_Number' {aka 'double'} may change value [-Wconversion] 745 | lua_pushnumber(L, b); | ^ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/plugin/luapi_application.h:759:31: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'lua_Number' {aka 'double'} may change value [-Wconversion] 759 | lua_pushnumber(L, b); | ^ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/plugin/luapi_application.h:772:35: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'lua_Number' {aka 'double'} may change value [-Wconversion] 772 | lua_pushnumber(L, b); | ^ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/plugin/luapi_application.h: In function 'int applib_changeToolColor(lua_State*)': /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/plugin/luapi_application.h:1062:28: warning: conversion from 'std::make_unsigned_t' {aka 'long long unsigned int'} to 'uint32_t' {aka 'unsigned int'} may change value [-Wconversion] 1062 | color = as_unsigned(lua_tointeger(L, -1)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/plugin/luapi_application.h: In function 'int applib_scrollToPage(lua_State*)': /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/plugin/luapi_application.h:1647:32: warning: conversion from 'lua_Integer' {aka 'long long int'} to 'int' may change value [-Wconversion] 1647 | int val = luaL_checkinteger(L, 1); | ~~~~~~~~~~~~~~~~~^~~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/plugin/luapi_application.h:1652:27: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 1652 | int page = (relative) ? control->getCurrentPageNo() + val : val - 1; | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/plugin/luapi_application.h: In function 'int applib_export(lua_State*)': /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/plugin/luapi_application.h:1934:33: warning: conversion from 'lua_Integer' {aka 'long long int'} to 'int' may change value [-Wconversion] 1934 | int pngDpi = luaL_optinteger(L, -3, -1); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/plugin/luapi_application.h:1935:35: warning: conversion from 'lua_Integer' {aka 'long long int'} to 'int' may change value [-Wconversion] 1935 | int pngWidth = luaL_optinteger(L, -2, -1); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/plugin/luapi_application.h:1936:36: warning: conversion from 'lua_Integer' {aka 'long long int'} to 'int' may change value [-Wconversion] 1936 | int pngHeight = luaL_optinteger(L, -1, -1); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/plugin/Plugin.h:33, from /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/plugin/Plugin.cpp:1: /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/plugin/luapi_application.h: In function 'int applib_openFile(lua_State*)': /pbulk/work/editors/xournalpp/work/.buildlink/include/lua-5.3/lua.h:341:42: warning: conversion from 'lua_Integer' {aka 'long long int'} to 'int' may change value [-Wconversion] 341 | #define lua_tointeger(L,i) lua_tointegerx(L,(i),NULL) | ~~~~~~~~~~~~~~^~~~~~~~~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/plugin/luapi_application.h:1983:24: note: in expansion of macro 'lua_tointeger' 1983 | scrollToPage = lua_tointeger(L, 2); | ^~~~~~~~~~~~~ In file included from /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/plugin/Plugin.cpp:32: /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/plugin/luapi_application.h: In function 'int applib_addImagesFromFilepath(lua_State*)': /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/plugin/luapi_application.h:2050:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 2050 | for (int imgParam{1}; imgParam <= cntParams; imgParam++) { | ~~~~~~~~~^~~~~~~~~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/plugin/luapi_application.h:2079:45: warning: conversion from 'lua_Integer' {aka 'long long int'} to 'int' may change value [-Wconversion] 2079 | int maxHeightParam = luaL_optinteger(L, -3, -1); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/plugin/luapi_application.h:2084:44: warning: conversion from 'lua_Integer' {aka 'long long int'} to 'int' may change value [-Wconversion] 2084 | int maxWidthParam = luaL_optinteger(L, -4, -1); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ [ 80%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/undo/EraseUndoAction.cpp.o [ 80%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/undo/FillUndoAction.cpp.o [ 80%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/undo/FontUndoAction.cpp.o [ 81%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/undo/GroupUndoAction.cpp.o [ 81%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/undo/InsertDeletePageUndoAction.cpp.o [ 81%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/undo/InsertLayerUndoAction.cpp.o [ 81%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/undo/InsertUndoAction.cpp.o [ 82%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/undo/LayerRenameUndoAction.cpp.o [ 82%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/undo/LineStyleUndoAction.cpp.o [ 82%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/undo/MergeLayerDownUndoAction.cpp.o [ 82%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/undo/MissingPdfUndoAction.cpp.o [ 83%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/undo/MoveLayerUndoAction.cpp.o [ 83%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/undo/MoveSelectionToLayerUndoAction.cpp.o [ 83%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/undo/MoveUndoAction.cpp.o [ 83%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/undo/PageBackgroundChangedUndoAction.cpp.o [ 83%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/undo/RecognizerUndoAction.cpp.o [ 84%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/undo/RemoveLayerUndoAction.cpp.o [ 84%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/undo/RotateUndoAction.cpp.o [ 84%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/undo/ScaleUndoAction.cpp.o [ 84%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/undo/SizeUndoAction.cpp.o [ 86%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/undo/SwapUndoAction.cpp.o [ 86%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/undo/TextBoxUndoAction.cpp.o [ 86%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/undo/UndoAction.cpp.o /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/undo/PageBackgroundChangedUndoAction.cpp: In member function 'virtual bool PageBackgroundChangedUndoAction::undo(Control*)': /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/undo/PageBackgroundChangedUndoAction.cpp:30:48: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 30 | this->newPdfPage = this->page->getPdfPageNr(); | ~~~~~~~~~~~~~~~~~~~~~~~~^~ [ 86%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/undo/UndoRedoHandler.cpp.o [ 87%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/view/CompassView.cpp.o [ 87%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/view/DocumentView.cpp.o [ 87%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/view/ElementContainerView.cpp.o [ 87%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/view/ElementView.cpp.o [ 88%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/view/ErasableStrokeView.cpp.o /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/undo/SwapUndoAction.cpp: In member function 'void SwapUndoAction::swap(Control*)': /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/undo/SwapUndoAction.cpp:42:28: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'gint' {aka 'int'} may change value [-Wconversion] 42 | gint insertPos = this->pageNr; | ~~~~~~^~~~~~ /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/undo/SwapUndoAction.cpp:43:35: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'gint' {aka 'int'} may change value [-Wconversion] 43 | gint deletePos = this->pageNr + 1; | ~~~~~~~~~~~~~^~~ [ 88%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/view/GeometryToolView.cpp.o [ 88%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/view/ImageView.cpp.o [ 88%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/view/LayerView.cpp.o [ 89%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/view/Mask.cpp.o [ 89%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/view/SetsquareView.cpp.o [ 89%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/view/StrokeView.cpp.o [ 89%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/view/StrokeViewHelper.cpp.o [ 90%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/view/TexImageView.cpp.o [ 90%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/view/TextView.cpp.o [ 90%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/view/background/BackgroundView.cpp.o [ 90%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/view/background/BaseIsometricBackgroundView.cpp.o [ 91%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/view/background/DottedBackgroundView.cpp.o [ 91%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/view/background/GraphBackgroundView.cpp.o [ 91%] Building CXX object src/core/CMakeFiles/xournalpp-core.dir/view/background/ImageBackgroundView.cpp.o In file included from /usr/pkg/lib/glib-2.0/include/glibconfig.h:9, from /usr/pkg/include/glib-2.0/glib/gtypes.h:34, from /usr/pkg/include/glib-2.0/glib/galloca.h:34, from /usr/pkg/include/glib-2.0/glib.h:32, from /usr/pkg/include/gtk-3.0/gdk/gdkconfig.h:8, from /usr/pkg/include/gtk-3.0/gdk/gdk.h:30, from /usr/pkg/include/gtk-3.0/gtk/gtk.h:30, from /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/view/View.h:16, from /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/view/TexImageView.h:14, from /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/src/core/view/TexImageView.cpp:1: /usr/pkg/include/poppler/glib/poppler-autocleanups.h: In function 'void glib_autoptr_clear_PopplerIndexIter(PopplerIndexIter*)': /usr/pkg/include/poppler/glib/poppler-autocleanups.h:6:1: error: 'poppler_index_iter_free' was not declared in this scope; did you mean 'poppler_dest_free'? 6 | G_DEFINE_AUTOPTR_CLEANUP_FUNC(PopplerIndexIter, poppler_index_iter_free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkg/include/poppler/glib/poppler-autocleanups.h: In function 'void glib_listautoptr_cleanup_PopplerIndexIter(GList**)': /usr/pkg/include/poppler/glib/poppler-autocleanups.h:6:1: error: 'poppler_index_iter_free' was not declared in this scope; did you mean 'poppler_dest_free'? 6 | G_DEFINE_AUTOPTR_CLEANUP_FUNC(PopplerIndexIter, poppler_index_iter_free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkg/include/poppler/glib/poppler-autocleanups.h: In function 'void glib_slistautoptr_cleanup_PopplerIndexIter(GSList**)': /usr/pkg/include/poppler/glib/poppler-autocleanups.h:6:1: error: 'poppler_index_iter_free' was not declared in this scope; did you mean 'poppler_dest_free'? 6 | G_DEFINE_AUTOPTR_CLEANUP_FUNC(PopplerIndexIter, poppler_index_iter_free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkg/include/poppler/glib/poppler-autocleanups.h: In function 'void glib_queueautoptr_cleanup_PopplerIndexIter(GQueue**)': /usr/pkg/include/poppler/glib/poppler-autocleanups.h:6:1: error: 'poppler_index_iter_free' was not declared in this scope; did you mean 'poppler_dest_free'? 6 | G_DEFINE_AUTOPTR_CLEANUP_FUNC(PopplerIndexIter, poppler_index_iter_free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkg/include/poppler/glib/poppler-autocleanups.h: In function 'void glib_autoptr_clear_PopplerFontInfo(PopplerFontInfo*)': /usr/pkg/include/poppler/glib/poppler-autocleanups.h:7:1: error: 'poppler_font_info_free' was not declared in this scope; did you mean 'poppler_point_free'? 7 | G_DEFINE_AUTOPTR_CLEANUP_FUNC(PopplerFontInfo, poppler_font_info_free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkg/include/poppler/glib/poppler-autocleanups.h: In function 'void glib_listautoptr_cleanup_PopplerFontInfo(GList**)': /usr/pkg/include/poppler/glib/poppler-autocleanups.h:7:1: error: 'poppler_font_info_free' was not declared in this scope; did you mean 'poppler_point_free'? 7 | G_DEFINE_AUTOPTR_CLEANUP_FUNC(PopplerFontInfo, poppler_font_info_free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkg/include/poppler/glib/poppler-autocleanups.h: In function 'void glib_slistautoptr_cleanup_PopplerFontInfo(GSList**)': /usr/pkg/include/poppler/glib/poppler-autocleanups.h:7:1: error: 'poppler_font_info_free' was not declared in this scope; did you mean 'poppler_point_free'? 7 | G_DEFINE_AUTOPTR_CLEANUP_FUNC(PopplerFontInfo, poppler_font_info_free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkg/include/poppler/glib/poppler-autocleanups.h: In function 'void glib_queueautoptr_cleanup_PopplerFontInfo(GQueue**)': /usr/pkg/include/poppler/glib/poppler-autocleanups.h:7:1: error: 'poppler_font_info_free' was not declared in this scope; did you mean 'poppler_point_free'? 7 | G_DEFINE_AUTOPTR_CLEANUP_FUNC(PopplerFontInfo, poppler_font_info_free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkg/include/poppler/glib/poppler-autocleanups.h: In function 'void glib_autoptr_clear_PopplerFontsIter(PopplerFontsIter*)': /usr/pkg/include/poppler/glib/poppler-autocleanups.h:8:1: error: 'poppler_fonts_iter_free' was not declared in this scope 8 | G_DEFINE_AUTOPTR_CLEANUP_FUNC(PopplerFontsIter, poppler_fonts_iter_free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkg/include/poppler/glib/poppler-autocleanups.h: In function 'void glib_listautoptr_cleanup_PopplerFontsIter(GList**)': /usr/pkg/include/poppler/glib/poppler-autocleanups.h:8:1: error: 'poppler_fonts_iter_free' was not declared in this scope 8 | G_DEFINE_AUTOPTR_CLEANUP_FUNC(PopplerFontsIter, poppler_fonts_iter_free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkg/include/poppler/glib/poppler-autocleanups.h: In function 'void glib_slistautoptr_cleanup_PopplerFontsIter(GSList**)': /usr/pkg/include/poppler/glib/poppler-autocleanups.h:8:1: error: 'poppler_fonts_iter_free' was not declared in this scope 8 | G_DEFINE_AUTOPTR_CLEANUP_FUNC(PopplerFontsIter, poppler_fonts_iter_free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkg/include/poppler/glib/poppler-autocleanups.h: In function 'void glib_queueautoptr_cleanup_PopplerFontsIter(GQueue**)': /usr/pkg/include/poppler/glib/poppler-autocleanups.h:8:1: error: 'poppler_fonts_iter_free' was not declared in this scope 8 | G_DEFINE_AUTOPTR_CLEANUP_FUNC(PopplerFontsIter, poppler_fonts_iter_free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkg/include/poppler/glib/poppler-autocleanups.h: In function 'void glib_autoptr_clear_PopplerLayersIter(PopplerLayersIter*)': /usr/pkg/include/poppler/glib/poppler-autocleanups.h:9:1: error: 'poppler_layers_iter_free' was not declared in this scope; did you mean 'poppler_layer_get_type'? 9 | G_DEFINE_AUTOPTR_CLEANUP_FUNC(PopplerLayersIter, poppler_layers_iter_free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkg/include/poppler/glib/poppler-autocleanups.h: In function 'void glib_listautoptr_cleanup_PopplerLayersIter(GList**)': /usr/pkg/include/poppler/glib/poppler-autocleanups.h:9:1: error: 'poppler_layers_iter_free' was not declared in this scope; did you mean 'poppler_layer_get_type'? 9 | G_DEFINE_AUTOPTR_CLEANUP_FUNC(PopplerLayersIter, poppler_layers_iter_free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkg/include/poppler/glib/poppler-autocleanups.h: In function 'void glib_slistautoptr_cleanup_PopplerLayersIter(GSList**)': /usr/pkg/include/poppler/glib/poppler-autocleanups.h:9:1: error: 'poppler_layers_iter_free' was not declared in this scope; did you mean 'poppler_layer_get_type'? 9 | G_DEFINE_AUTOPTR_CLEANUP_FUNC(PopplerLayersIter, poppler_layers_iter_free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkg/include/poppler/glib/poppler-autocleanups.h: In function 'void glib_queueautoptr_cleanup_PopplerLayersIter(GQueue**)': /usr/pkg/include/poppler/glib/poppler-autocleanups.h:9:1: error: 'poppler_layers_iter_free' was not declared in this scope; did you mean 'poppler_layer_get_type'? 9 | G_DEFINE_AUTOPTR_CLEANUP_FUNC(PopplerLayersIter, poppler_layers_iter_free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkg/include/poppler/glib/poppler-autocleanups.h: In function 'void glib_autoptr_clear_PopplerPSFile(PopplerPSFile*)': /usr/pkg/include/poppler/glib/poppler-autocleanups.h:10:1: error: 'poppler_ps_file_free' was not declared in this scope; did you mean 'poppler_point_free'? 10 | G_DEFINE_AUTOPTR_CLEANUP_FUNC(PopplerPSFile, poppler_ps_file_free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkg/include/poppler/glib/poppler-autocleanups.h: In function 'void glib_listautoptr_cleanup_PopplerPSFile(GList**)': /usr/pkg/include/poppler/glib/poppler-autocleanups.h:10:1: error: 'poppler_ps_file_free' was not declared in this scope; did you mean 'poppler_point_free'? 10 | G_DEFINE_AUTOPTR_CLEANUP_FUNC(PopplerPSFile, poppler_ps_file_free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkg/include/poppler/glib/poppler-autocleanups.h: In function 'void glib_slistautoptr_cleanup_PopplerPSFile(GSList**)': /usr/pkg/include/poppler/glib/poppler-autocleanups.h:10:1: error: 'poppler_ps_file_free' was not declared in this scope; did you mean 'poppler_point_free'? 10 | G_DEFINE_AUTOPTR_CLEANUP_FUNC(PopplerPSFile, poppler_ps_file_free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkg/include/poppler/glib/poppler-autocleanups.h: In function 'void glib_queueautoptr_cleanup_PopplerPSFile(GQueue**)': /usr/pkg/include/poppler/glib/poppler-autocleanups.h:10:1: error: 'poppler_ps_file_free' was not declared in this scope; did you mean 'poppler_point_free'? 10 | G_DEFINE_AUTOPTR_CLEANUP_FUNC(PopplerPSFile, poppler_ps_file_free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- src/core/CMakeFiles/xournalpp-core.dir/view/TexImageView.cpp.o --- *** [src/core/CMakeFiles/xournalpp-core.dir/view/TexImageView.cpp.o] Error code 1 make[3]: stopped in /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/cmake-pkgsrc-build 1 error make[3]: stopped in /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/cmake-pkgsrc-build --- src/core/CMakeFiles/xournalpp-core.dir/all --- *** [src/core/CMakeFiles/xournalpp-core.dir/all] Error code 2 make[2]: stopped in /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/cmake-pkgsrc-build 1 error make[2]: stopped in /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/cmake-pkgsrc-build --- src/CMakeFiles/xournalpp.dir/rule --- *** [src/CMakeFiles/xournalpp.dir/rule] Error code 2 make[1]: stopped in /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/cmake-pkgsrc-build 1 error make[1]: stopped in /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/cmake-pkgsrc-build *** [xournalpp] Error code 2 make: stopped in /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/cmake-pkgsrc-build 1 error make: stopped in /pbulk/work/editors/xournalpp/work/xournalpp-1.2.3/cmake-pkgsrc-build *** Error code 2 Stop. make[1]: stopped in /usr/pkgsrc/editors/xournalpp *** Error code 1 Stop. make: stopped in /usr/pkgsrc/editors/xournalpp