Skip to content

Instantly share code, notes, and snippets.

@yopito
Created October 7, 2021 20:41
Show Gist options
  • Save yopito/6cc7009da710c451e30af193688cf6e5 to your computer and use it in GitHub Desktop.
Save yopito/6cc7009da710c451e30af193688cf6e5 to your computer and use it in GitHub Desktop.
nextcloud-client-3.3.5 build log with check
This file has been truncated, but you can view the full file.
=> xbps-src: updating repositories for host (x86_64-musl)...
[*] Updating repository `https://alpha.de.repo.voidlinux.org/current/musl/x86_64-musl-repodata' ...
[*] Updating repository `https://alpha.de.repo.voidlinux.org/current/musl/nonfree/x86_64-musl-repodata' ...
[*] Updating repository `https://alpha.de.repo.voidlinux.org/current/musl/debug/x86_64-musl-repodata' ...
=> xbps-src: updating software in / masterdir...
=> xbps-src: cleaning up / masterdir...
=> nextcloud-client-3.3.5_1: the following build options are set:
dolphin: Build KDE dolphin support (ON)
webengine: Build Qt5 WebEngine support (ON)
=> nextcloud-client-3.3.5_1: building [cmake] for x86_64-musl...
[host] pkg-config-0.29.2_3: found (https://alpha.de.repo.voidlinux.org/current/musl)
[host] inkscape-1.1_3: found (https://alpha.de.repo.voidlinux.org/current/musl)
[host] cmake-3.21.1_1: found (https://alpha.de.repo.voidlinux.org/current/musl)
[host] ninja-1.10.2_2: found (https://alpha.de.repo.voidlinux.org/current/musl)
[check] cmocka-devel-1.1.5_1: found (https://alpha.de.repo.voidlinux.org/current/musl)
[target] qt5-tools-devel-5.15.3+20211001_1: found (https://alpha.de.repo.voidlinux.org/current/musl)
[target] qt5-declarative-devel-5.15.3+20211001_1: found (https://alpha.de.repo.voidlinux.org/current/musl)
[target] qt5-webchannel-devel-5.15.3+20211001_1: found (https://alpha.de.repo.voidlinux.org/current/musl)
[target] qt5-location-devel-5.15.3+20211001_1: found (https://alpha.de.repo.voidlinux.org/current/musl)
[target] qtkeychain-qt5-devel-0.11.1_1: found (https://alpha.de.repo.voidlinux.org/current/musl)
[target] sqlite-devel-3.36.0_1: found (https://alpha.de.repo.voidlinux.org/current/musl)
[target] libcloudproviders-devel-0.3.1_1: found (https://alpha.de.repo.voidlinux.org/current/musl)
[target] qt5-quickcontrols2-devel-5.15.3+20211001_1: found (https://alpha.de.repo.voidlinux.org/current/musl)
[target] qt5-websockets-devel-5.15.3+20211001_1: found (https://alpha.de.repo.voidlinux.org/current/musl)
[target] qt5-svg-devel-5.15.3+20211001_1: found (https://alpha.de.repo.voidlinux.org/current/musl)
[target] extra-cmake-modules-5.86.0_1: found (https://alpha.de.repo.voidlinux.org/current/musl)
[target] kio-devel-5.86.0_1: found (https://alpha.de.repo.voidlinux.org/current/musl)
[target] qt5-webengine-devel-5.15.6_1: found (https://alpha.de.repo.voidlinux.org/current/musl)
[runtime] qt5-graphicaleffects-5.15.3+20211001_1: found (https://alpha.de.repo.voidlinux.org/current/musl)
[runtime] nextcloud-client-3.3.5_1: not found (self, ignored)
[runtime] kwallet-5.86.0_1: found (https://alpha.de.repo.voidlinux.org/current/musl)
[runtime] nextcloud-client-3.3.5_1: not found (self, ignored)
[runtime] nextcloud-client-3.3.5_1: not found (self, ignored)
=> nextcloud-client-3.3.5_1: installing host dependencies: pkg-config-0.29.2_3 inkscape-1.1_3 cmake-3.21.1_1 ninja-1.10.2_2 cmocka-devel-1.1.5_1 ...
=> nextcloud-client-3.3.5_1: installing target dependencies: qt5-tools-devel-5.15.3+20211001_1 qt5-declarative-devel-5.15.3+20211001_1 qt5-webchannel-devel-5.15.3+20211001_1 qt5-location-devel-5.15.3+20211001_1 qtkeychain-qt5-devel-0.11.1_1 sqlite-devel-3.36.0_1 libcloudproviders-devel-0.3.1_1 qt5-quickcontrols2-devel-5.15.3+20211001_1 qt5-websockets-devel-5.15.3+20211001_1 qt5-svg-devel-5.15.3+20211001_1 extra-cmake-modules-5.86.0_1 kio-devel-5.86.0_1 qt5-webengine-devel-5.15.6_1 ...
=> nextcloud-client-3.3.5_1: running do-fetch hook: 00-distfiles ...
=> nextcloud-client-3.3.5_1: running do-extract hook: 00-distfiles ...
=> nextcloud-client-3.3.5_1: extracting distfile(s), please wait...
=> nextcloud-client-3.3.5_1: running do-patch hook: 00-patches ...
=> nextcloud-client-3.3.5_1: patching: testfolderman-within-chroot.patch.
=> nextcloud-client-3.3.5_1: running pre-configure hook: 00-gnu-configure-asneeded ...
=> nextcloud-client-3.3.5_1: running pre-configure hook: 01-override-config ...
=> nextcloud-client-3.3.5_1: running pre-configure hook: 02-script-wrapper ...
=> nextcloud-client-3.3.5_1: running do_configure ...
-- The C compiler identification is GNU 10.2.1
-- The CXX compiler identification is GNU 10.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/lib/ccache/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/lib/ccache/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Build of crashreporter disabled.
0d9a6987ebb0040b34451e51f54121dbd339ddf8
-- GIT_SHA1 0d9a6987ebb0040b34451e51f54121dbd339ddf8
Compiling without updater
-- Could NOT find Sphinx (missing: SPHINX_EXECUTABLE)
-- Could NOT find PdfLatex (missing: PDFLATEX_EXECUTABLE)
-- Found OpenSSL: /usr/lib/libcrypto.so (found suitable version "1.1.1l", minimum required is "1.1")
-- Found ZLIB: /usr/lib/libz.so (found version "1.2.11")
-- Found PkgConfig: pkg-config (found version "0.29.2")
-- Checking for module 'cloudproviders'
-- Found cloudproviders, version 0.3.1
-- Checking for module 'gio-2.0'
-- Found gio-2.0, version 2.70.0
-- Checking for module 'glib-2.0'
-- Found glib-2.0, version 2.70.0
-- Using Qt 5.15.2 (/usr/lib/qt5/bin/qmake)
-- Performing Test WITH_FPIC
-- Performing Test WITH_FPIC - Success
-- Performing Test WITH_STACK_PROTECTOR
-- Performing Test WITH_STACK_PROTECTOR - Success
-- Checking for module 'sqlite3'
-- Found sqlite3, version 3.36.0
-- Found SQLite3: /usr/lib/libsqlite3.so (Required is at least version "3.8.0")
-- Looking for utimes
-- Looking for utimes - found
-- Looking for lstat
-- Looking for lstat - found
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
list of plugins suffix;cfapi;xattr
discovery suffix
/builddir/desktop-3.3.5/src/libsync/vfs/suffix
/builddir/desktop-3.3.5/src/libsync/vfs/suffix suffix
-- Added vfsPlugin without tests: suffix
discovery cfapi
/builddir/desktop-3.3.5/src/libsync/vfs/cfapi
/builddir/desktop-3.3.5/src/libsync/vfs/cfapi cfapi
-- Added vfsPlugin without tests: cfapi
discovery xattr
/builddir/desktop-3.3.5/src/libsync/vfs/xattr
/builddir/desktop-3.3.5/src/libsync/vfs/xattr xattr
-- Added vfsPlugin without tests: xattr
-- Generate 16-Nextcloud-icon.png
-- Generate 24-Nextcloud-icon.png
-- Generate 32-Nextcloud-icon.png
-- Generate 48-Nextcloud-icon.png
-- Generate 64-Nextcloud-icon.png
-- Generate 128-Nextcloud-icon.png
-- Generate 256-Nextcloud-icon.png
-- Generate 512-Nextcloud-icon.png
-- Generate 1024-Nextcloud-icon.png
Building with libcloudproviderssupport
-- Found SharedMimeInfo: /usr/bin/update-mime-database (found version "2.1")
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Found X11: /usr/include
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Found KF5CoreAddons: /usr/lib64/cmake/KF5CoreAddons/KF5CoreAddonsConfig.cmake (found version "5.86.0")
-- Found KF5KIO: /usr/lib64/cmake/KF5KIO/KF5KIOConfig.cmake (found version "5.86.0")
-- Found KF5: success (found suitable version "5.86.0", minimum required is "5.16.0") found components: CoreAddons KIO
-- Could not set up the appstream test. appstreamcli is missing.
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - not found
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_DATE_TIME
-- Performing Test HAVE_DATE_TIME - Success
-- Found CMocka: /usr/lib/libcmocka.so
-- The following OPTIONAL packages have been found:
* Qt5WebChannel (required version >= 5.15.2)
* Qt5Positioning (required version >= 5.15.2)
* Qt5WebEngineCore (required version >= 5.15.2)
* Qt5PrintSupport (required version >= 5.15.2)
* Qt5WebEngineWidgets
* Qt5WebEngine
* Qt5LinguistTools
* SharedMimeInfo, A database of common MIME types, <https://freedesktop.org/wiki/Software/shared-mime-info/>
* KF5Service (required version >= 5.86.0)
* KF5Bookmarks (required version >= 5.86.0)
* KF5Completion (required version >= 5.86.0)
* KF5ItemViews (required version >= 5.86.0)
* KF5JobWidgets (required version >= 5.86.0)
* KF5Solid (required version >= 5.86.0)
* KF5Auth (required version >= 5.86.0)
* KF5Codecs (required version >= 5.86.0)
* KF5Config (required version >= 5.86.0)
* KF5WidgetsAddons (required version >= 5.86.0)
* KF5ConfigWidgets (required version >= 5.86.0)
* KF5XmlGui (required version >= 5.86.0)
* Freetype
* Fontconfig
* CMocka
-- The following REQUIRED packages have been found:
* Inotify
* OpenSSL (required version >= 1.1)
* ZLIB
* Qt5Keychain
* SQLite3 (required version >= 3.8.0)
* Qt5WebSockets
* Qt5Svg
* Qt5QuickControls2
* ECM (required version >= 5.16.0)
* KF5CoreAddons (required version >= 5.86.0)
* Qt5Widgets (required version >= 5.15.2)
* PkgConfig
* Qt5Concurrent (required version >= 5.15.2)
* KF5KIO (required version >= 5.16.0)
* KF5 (required version >= 5.16.0)
* Qt5DBus
* Qt5Core
* Qt5Test
* Qt5Xml
* Qt5Network
* Qt5Qml
* Qt5Gui (required version >= 5.15.2)
* Qt5QmlModels (required version >= 5.15.2)
* Qt5Quick
* Qt5
-- The following OPTIONAL packages have not been found:
* Sphinx
* PdfLatex
* Doxygen
-- Configuring done
-- Generating done
-- Build files have been written to: /builddir/desktop-3.3.5/build
=> nextcloud-client-3.3.5_1: running pre-build hook: 02-script-wrapper ...
=> nextcloud-client-3.3.5_1: running do_build ...
[1/449] Automatic MOC for target nextcloud_csync
[2/449] Building CXX object src/csync/CMakeFiles/nextcloud_csync.dir/nextcloud_csync_autogen/mocs_compilation.cpp.o
In file included from src/csync/nextcloud_csync_autogen/AAGGKE4ILT/../../../../../src/common/syncjournaldb.h:33,
from src/csync/nextcloud_csync_autogen/AAGGKE4ILT/moc_syncjournaldb.cpp:10,
from src/csync/nextcloud_csync_autogen/mocs_compilation.cpp:3:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtCore/qnamespace.h:43,
from /usr/include/qt5/QtCore/qobjectdefs.h:48,
from /usr/include/qt5/QtCore/qobject.h:46,
from /usr/include/qt5/QtCore/QObject:1,
from src/csync/nextcloud_csync_autogen/AAGGKE4ILT/../../../../../src/common/checksums.h:24,
from src/csync/nextcloud_csync_autogen/AAGGKE4ILT/moc_checksums.cpp:10,
from src/csync/nextcloud_csync_autogen/mocs_compilation.cpp:2:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
src/csync/nextcloud_csync_autogen/AAGGKE4ILT/../../../../../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
src/csync/nextcloud_csync_autogen/AAGGKE4ILT/../../../../../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
src/csync/nextcloud_csync_autogen/AAGGKE4ILT/../../../../../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
src/csync/nextcloud_csync_autogen/AAGGKE4ILT/../../../../../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
src/csync/nextcloud_csync_autogen/AAGGKE4ILT/../../../../../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
src/csync/nextcloud_csync_autogen/AAGGKE4ILT/../../../../../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
src/csync/nextcloud_csync_autogen/AAGGKE4ILT/../../../../../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
src/csync/nextcloud_csync_autogen/AAGGKE4ILT/../../../../../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
src/csync/nextcloud_csync_autogen/AAGGKE4ILT/../../../../../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
src/csync/nextcloud_csync_autogen/AAGGKE4ILT/../../../../../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
src/csync/nextcloud_csync_autogen/AAGGKE4ILT/../../../../../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
src/csync/nextcloud_csync_autogen/AAGGKE4ILT/../../../../../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
src/csync/nextcloud_csync_autogen/AAGGKE4ILT/../../../../../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
src/csync/nextcloud_csync_autogen/AAGGKE4ILT/../../../../../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
src/csync/nextcloud_csync_autogen/AAGGKE4ILT/../../../../../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
src/csync/nextcloud_csync_autogen/AAGGKE4ILT/../../../../../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
src/csync/nextcloud_csync_autogen/AAGGKE4ILT/../../../../../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
src/csync/nextcloud_csync_autogen/AAGGKE4ILT/../../../../../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
src/csync/nextcloud_csync_autogen/AAGGKE4ILT/../../../../../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
src/csync/nextcloud_csync_autogen/AAGGKE4ILT/../../../../../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
[3/449] Building CXX object src/csync/CMakeFiles/nextcloud_csync.dir/__/common/checksums.cpp.o
[4/449] Building CXX object src/csync/CMakeFiles/nextcloud_csync.dir/__/common/filesystembase.cpp.o
[5/449] Building CXX object src/csync/CMakeFiles/nextcloud_csync.dir/__/common/ownsql.cpp.o
[6/449] Building CXX object src/csync/CMakeFiles/nextcloud_csync.dir/__/common/syncjournaldb.cpp.o
In file included from ../src/common/syncjournaldb.h:33,
from ../src/common/syncjournaldb.cpp:29:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
../src/common/syncjournaldb.cpp: In constructor 'OCC::SyncJournalDb::SyncJournalDb(const QString&, QObject*)':
../src/common/syncjournaldb.cpp:97:34: warning: 'QMutex::QMutex(QMutex::RecursionMode)' is deprecated: Use QRecursiveMutex instead of a recursive QMutex [-Wdeprecated-declarations]
97 | , _metadataTableIsEmpty(false)
| ^
In file included from /usr/include/qt5/QtCore/QMutex:1,
from ../src/common/syncjournaldb.h:25,
from ../src/common/syncjournaldb.cpp:29:
/usr/include/qt5/QtCore/qmutex.h:140:14: note: declared here
140 | explicit QMutex(RecursionMode mode);
| ^~~~~~
[7/449] Building CXX object src/csync/CMakeFiles/nextcloud_csync.dir/__/common/syncjournalfilerecord.cpp.o
[8/449] Building CXX object src/csync/CMakeFiles/nextcloud_csync.dir/__/common/utility.cpp.o
In file included from ../src/common/utility.cpp:57:
../src/common/utility_unix.cpp: In function 'void OCC::setLaunchOnStartup_private(const QString&, const QString&, bool)':
../src/common/utility_unix.cpp:83:51: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations]
83 | ts << QLatin1String("[Desktop Entry]") << endl
| ^~~~
In file included from /usr/include/qt5/QtCore/qdebug.h:49,
from /usr/include/qt5/QtCore/qloggingcategory.h:44,
from /usr/include/qt5/QtCore/QLoggingCategory:1,
from ../src/common/utility.h:29,
from ../src/common/utility.cpp:21:
/usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here
293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s);
| ^~~~
In file included from ../src/common/utility.cpp:57:
../src/common/utility_unix.cpp:83:51: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations]
83 | ts << QLatin1String("[Desktop Entry]") << endl
| ^~~~
In file included from /usr/include/qt5/QtCore/qdebug.h:49,
from /usr/include/qt5/QtCore/qloggingcategory.h:44,
from /usr/include/qt5/QtCore/QLoggingCategory:1,
from ../src/common/utility.h:29,
from ../src/common/utility.cpp:21:
/usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here
293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s);
| ^~~~
In file included from ../src/common/utility.cpp:57:
../src/common/utility_unix.cpp:84:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations]
84 | << QLatin1String("Name=") << guiName << endl
| ^~~~
In file included from /usr/include/qt5/QtCore/qdebug.h:49,
from /usr/include/qt5/QtCore/qloggingcategory.h:44,
from /usr/include/qt5/QtCore/QLoggingCategory:1,
from ../src/common/utility.h:29,
from ../src/common/utility.cpp:21:
/usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here
293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s);
| ^~~~
In file included from ../src/common/utility.cpp:57:
../src/common/utility_unix.cpp:84:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations]
84 | << QLatin1String("Name=") << guiName << endl
| ^~~~
In file included from /usr/include/qt5/QtCore/qdebug.h:49,
from /usr/include/qt5/QtCore/qloggingcategory.h:44,
from /usr/include/qt5/QtCore/QLoggingCategory:1,
from ../src/common/utility.h:29,
from ../src/common/utility.cpp:21:
/usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here
293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s);
| ^~~~
In file included from ../src/common/utility.cpp:57:
../src/common/utility_unix.cpp:85:86: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations]
85 | << QLatin1String("GenericName=") << QLatin1String("File Synchronizer") << endl
| ^~~~
In file included from /usr/include/qt5/QtCore/qdebug.h:49,
from /usr/include/qt5/QtCore/qloggingcategory.h:44,
from /usr/include/qt5/QtCore/QLoggingCategory:1,
from ../src/common/utility.h:29,
from ../src/common/utility.cpp:21:
/usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here
293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s);
| ^~~~
In file included from ../src/common/utility.cpp:57:
../src/common/utility_unix.cpp:85:86: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations]
85 | << QLatin1String("GenericName=") << QLatin1String("File Synchronizer") << endl
| ^~~~
In file included from /usr/include/qt5/QtCore/qdebug.h:49,
from /usr/include/qt5/QtCore/qloggingcategory.h:44,
from /usr/include/qt5/QtCore/QLoggingCategory:1,
from ../src/common/utility.h:29,
from ../src/common/utility.cpp:21:
/usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here
293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s);
| ^~~~
In file included from ../src/common/utility.cpp:57:
../src/common/utility_unix.cpp:86:82: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations]
86 | << QLatin1String("Exec=\"") << executablePath << "\" --background" << endl
| ^~~~
In file included from /usr/include/qt5/QtCore/qdebug.h:49,
from /usr/include/qt5/QtCore/qloggingcategory.h:44,
from /usr/include/qt5/QtCore/QLoggingCategory:1,
from ../src/common/utility.h:29,
from ../src/common/utility.cpp:21:
/usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here
293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s);
| ^~~~
In file included from ../src/common/utility.cpp:57:
../src/common/utility_unix.cpp:86:82: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations]
86 | << QLatin1String("Exec=\"") << executablePath << "\" --background" << endl
| ^~~~
In file included from /usr/include/qt5/QtCore/qdebug.h:49,
from /usr/include/qt5/QtCore/qloggingcategory.h:44,
from /usr/include/qt5/QtCore/QLoggingCategory:1,
from ../src/common/utility.h:29,
from ../src/common/utility.cpp:21:
/usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here
293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s);
| ^~~~
In file included from ../src/common/utility.cpp:57:
../src/common/utility_unix.cpp:87:56: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations]
87 | << QLatin1String("Terminal=") << "false" << endl
| ^~~~
In file included from /usr/include/qt5/QtCore/qdebug.h:49,
from /usr/include/qt5/QtCore/qloggingcategory.h:44,
from /usr/include/qt5/QtCore/QLoggingCategory:1,
from ../src/common/utility.h:29,
from ../src/common/utility.cpp:21:
/usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here
293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s);
| ^~~~
In file included from ../src/common/utility.cpp:57:
../src/common/utility_unix.cpp:87:56: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations]
87 | << QLatin1String("Terminal=") << "false" << endl
| ^~~~
In file included from /usr/include/qt5/QtCore/qdebug.h:49,
from /usr/include/qt5/QtCore/qloggingcategory.h:44,
from /usr/include/qt5/QtCore/QLoggingCategory:1,
from ../src/common/utility.h:29,
from ../src/common/utility.cpp:21:
/usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here
293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s);
| ^~~~
In file included from ../src/common/utility.cpp:57:
../src/common/utility_unix.cpp:88:66: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations]
88 | << QLatin1String("Icon=") << APPLICATION_ICON_NAME << endl
| ^~~~
In file included from /usr/include/qt5/QtCore/qdebug.h:49,
from /usr/include/qt5/QtCore/qloggingcategory.h:44,
from /usr/include/qt5/QtCore/QLoggingCategory:1,
from ../src/common/utility.h:29,
from ../src/common/utility.cpp:21:
/usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here
293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s);
| ^~~~
In file included from ../src/common/utility.cpp:57:
../src/common/utility_unix.cpp:88:66: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations]
88 | << QLatin1String("Icon=") << APPLICATION_ICON_NAME << endl
| ^~~~
In file included from /usr/include/qt5/QtCore/qdebug.h:49,
from /usr/include/qt5/QtCore/qloggingcategory.h:44,
from /usr/include/qt5/QtCore/QLoggingCategory:1,
from ../src/common/utility.h:29,
from ../src/common/utility.cpp:21:
/usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here
293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s);
| ^~~~
In file included from ../src/common/utility.cpp:57:
../src/common/utility_unix.cpp:89:75: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations]
89 | << QLatin1String("Categories=") << QLatin1String("Network") << endl
| ^~~~
In file included from /usr/include/qt5/QtCore/qdebug.h:49,
from /usr/include/qt5/QtCore/qloggingcategory.h:44,
from /usr/include/qt5/QtCore/QLoggingCategory:1,
from ../src/common/utility.h:29,
from ../src/common/utility.cpp:21:
/usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here
293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s);
| ^~~~
In file included from ../src/common/utility.cpp:57:
../src/common/utility_unix.cpp:89:75: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations]
89 | << QLatin1String("Categories=") << QLatin1String("Network") << endl
| ^~~~
In file included from /usr/include/qt5/QtCore/qdebug.h:49,
from /usr/include/qt5/QtCore/qloggingcategory.h:44,
from /usr/include/qt5/QtCore/QLoggingCategory:1,
from ../src/common/utility.h:29,
from ../src/common/utility.cpp:21:
/usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here
293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s);
| ^~~~
In file included from ../src/common/utility.cpp:57:
../src/common/utility_unix.cpp:90:73: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations]
90 | << QLatin1String("Type=") << QLatin1String("Application") << endl
| ^~~~
In file included from /usr/include/qt5/QtCore/qdebug.h:49,
from /usr/include/qt5/QtCore/qloggingcategory.h:44,
from /usr/include/qt5/QtCore/QLoggingCategory:1,
from ../src/common/utility.h:29,
from ../src/common/utility.cpp:21:
/usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here
293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s);
| ^~~~
In file included from ../src/common/utility.cpp:57:
../src/common/utility_unix.cpp:90:73: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations]
90 | << QLatin1String("Type=") << QLatin1String("Application") << endl
| ^~~~
In file included from /usr/include/qt5/QtCore/qdebug.h:49,
from /usr/include/qt5/QtCore/qloggingcategory.h:44,
from /usr/include/qt5/QtCore/QLoggingCategory:1,
from ../src/common/utility.h:29,
from ../src/common/utility.cpp:21:
/usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here
293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s);
| ^~~~
In file included from ../src/common/utility.cpp:57:
../src/common/utility_unix.cpp:91:61: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations]
91 | << QLatin1String("StartupNotify=") << "false" << endl
| ^~~~
In file included from /usr/include/qt5/QtCore/qdebug.h:49,
from /usr/include/qt5/QtCore/qloggingcategory.h:44,
from /usr/include/qt5/QtCore/QLoggingCategory:1,
from ../src/common/utility.h:29,
from ../src/common/utility.cpp:21:
/usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here
293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s);
| ^~~~
In file included from ../src/common/utility.cpp:57:
../src/common/utility_unix.cpp:91:61: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations]
91 | << QLatin1String("StartupNotify=") << "false" << endl
| ^~~~
In file included from /usr/include/qt5/QtCore/qdebug.h:49,
from /usr/include/qt5/QtCore/qloggingcategory.h:44,
from /usr/include/qt5/QtCore/QLoggingCategory:1,
from ../src/common/utility.h:29,
from ../src/common/utility.cpp:21:
/usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here
293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s);
| ^~~~
In file included from ../src/common/utility.cpp:57:
../src/common/utility_unix.cpp:92:72: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations]
92 | << QLatin1String("X-GNOME-Autostart-enabled=") << "true" << endl
| ^~~~
In file included from /usr/include/qt5/QtCore/qdebug.h:49,
from /usr/include/qt5/QtCore/qloggingcategory.h:44,
from /usr/include/qt5/QtCore/QLoggingCategory:1,
from ../src/common/utility.h:29,
from ../src/common/utility.cpp:21:
/usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here
293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s);
| ^~~~
In file included from ../src/common/utility.cpp:57:
../src/common/utility_unix.cpp:92:72: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations]
92 | << QLatin1String("X-GNOME-Autostart-enabled=") << "true" << endl
| ^~~~
In file included from /usr/include/qt5/QtCore/qdebug.h:49,
from /usr/include/qt5/QtCore/qloggingcategory.h:44,
from /usr/include/qt5/QtCore/QLoggingCategory:1,
from ../src/common/utility.h:29,
from ../src/common/utility.cpp:21:
/usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here
293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s);
| ^~~~
In file included from ../src/common/utility.cpp:57:
../src/common/utility_unix.cpp:93:62: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations]
93 | << QLatin1String("X-GNOME-Autostart-Delay=10") << endl;
| ^~~~
In file included from /usr/include/qt5/QtCore/qdebug.h:49,
from /usr/include/qt5/QtCore/qloggingcategory.h:44,
from /usr/include/qt5/QtCore/QLoggingCategory:1,
from ../src/common/utility.h:29,
from ../src/common/utility.cpp:21:
/usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here
293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s);
| ^~~~
In file included from ../src/common/utility.cpp:57:
../src/common/utility_unix.cpp:93:62: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations]
93 | << QLatin1String("X-GNOME-Autostart-Delay=10") << endl;
| ^~~~
In file included from /usr/include/qt5/QtCore/qdebug.h:49,
from /usr/include/qt5/QtCore/qloggingcategory.h:44,
from /usr/include/qt5/QtCore/QLoggingCategory:1,
from ../src/common/utility.h:29,
from ../src/common/utility.cpp:21:
/usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here
293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s);
| ^~~~
../src/common/utility.cpp: In function 'bool OCC::Utility::writeRandomFile(const QString&, int)':
../src/common/utility.cpp:67:47: warning: 'void qsrand(uint)' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations]
67 | qsrand(QDateTime::currentMSecsSinceEpoch());
| ^
In file included from /usr/include/qt5/QtCore/qchar.h:43,
from /usr/include/qt5/QtCore/qstring.h:49,
from /usr/include/qt5/QtCore/QString:1,
from ../src/common/utility.h:25,
from ../src/common/utility.cpp:21:
/usr/include/qt5/QtCore/qglobal.h:1273:81: note: declared here
1273 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") void qsrand(uint seed);
| ^~~~~~
../src/common/utility.cpp:70:22: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations]
70 | size = qrand() % maxSize;
| ^
In file included from /usr/include/qt5/QtCore/qchar.h:43,
from /usr/include/qt5/QtCore/qstring.h:49,
from /usr/include/qt5/QtCore/QString:1,
from ../src/common/utility.h:25,
from ../src/common/utility.cpp:21:
/usr/include/qt5/QtCore/qglobal.h:1274:80: note: declared here
1274 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand();
| ^~~~~
../src/common/utility.cpp:74:23: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations]
74 | int r = qrand() % 128;
| ^
In file included from /usr/include/qt5/QtCore/qchar.h:43,
from /usr/include/qt5/QtCore/qstring.h:49,
from /usr/include/qt5/QtCore/QString:1,
from ../src/common/utility.h:25,
from ../src/common/utility.cpp:21:
/usr/include/qt5/QtCore/qglobal.h:1274:80: note: declared here
1274 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand();
| ^~~~~
[9/449] Building CXX object src/csync/CMakeFiles/nextcloud_csync.dir/__/common/remotepermissions.cpp.o
[10/449] Building CXX object src/csync/CMakeFiles/nextcloud_csync.dir/__/common/vfs.cpp.o
In file included from ../src/common/vfs.h:25,
from ../src/common/vfs.cpp:19:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtCore/qnamespace.h:43,
from /usr/include/qt5/QtCore/qobjectdefs.h:48,
from /usr/include/qt5/QtCore/qobject.h:46,
from /usr/include/qt5/QtCore/QObject:1,
from ../src/common/vfs.h:16,
from ../src/common/vfs.cpp:19:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
[11/449] Building CXX object src/csync/CMakeFiles/nextcloud_csync.dir/__/common/pinstate.cpp.o
In file included from ../src/common/pinstate.cpp:15:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
[12/449] Building CXX object src/csync/CMakeFiles/nextcloud_csync.dir/__/common/plugin.cpp.o
[13/449] Building CXX object src/csync/CMakeFiles/nextcloud_csync.dir/__/common/syncfilestatus.cpp.o
[14/449] Building CXX object src/csync/CMakeFiles/nextcloud_csync.dir/csync.cpp.o
[15/449] Building CXX object src/csync/CMakeFiles/nextcloud_csync.dir/csync_exclude.cpp.o
[16/449] Building CXX object src/csync/CMakeFiles/nextcloud_csync.dir/std/c_time.cpp.o
[17/449] Building CXX object src/csync/CMakeFiles/nextcloud_csync.dir/vio/csync_vio_local_unix.cpp.o
In file included from ../src/common/vfs.h:25,
from ../src/csync/vio/csync_vio_local_unix.cpp:36:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtCore/qatomic.h:41,
from /usr/include/qt5/QtCore/qrefcount.h:43,
from /usr/include/qt5/QtCore/qbytearray.h:44,
from /usr/include/qt5/QtCore/QByteArray:1,
from ../src/csync/csync.h:45,
from ../src/csync/vio/csync_vio_local_unix.cpp:33:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
[18/449] Linking CXX shared library src/csync/libnextcloud_csync.so.3.3.5
[19/449] Creating library symlink src/csync/libnextcloud_csync.so.0 src/csync/libnextcloud_csync.so
[20/449] Automatic MOC for target nextcloudsync
[21/449] Building CXX object src/libsync/CMakeFiles/nextcloudsync.dir/nextcloudsync_autogen/mocs_compilation.cpp.o
In file included from ../src/common/vfs.h:25,
from src/libsync/nextcloudsync_autogen/EWIEGA46WW/../../../../../src/libsync/syncoptions.h:21,
from src/libsync/nextcloudsync_autogen/EWIEGA46WW/../../../../../src/libsync/discoveryphase.h:28,
from src/libsync/nextcloudsync_autogen/EWIEGA46WW/../../../../../src/libsync/discovery.h:18,
from src/libsync/nextcloudsync_autogen/EWIEGA46WW/moc_discovery.cpp:10,
from src/libsync/nextcloudsync_autogen/mocs_compilation.cpp:17:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtCore/qnamespace.h:43,
from /usr/include/qt5/QtCore/qobjectdefs.h:48,
from /usr/include/qt5/QtCore/qobject.h:46,
from /usr/include/qt5/QtCore/QObject:1,
from src/libsync/nextcloudsync_autogen/EWIEGA46WW/../../../../../src/libsync/abstractnetworkjob.h:19,
from src/libsync/nextcloudsync_autogen/EWIEGA46WW/moc_abstractnetworkjob.cpp:10,
from src/libsync/nextcloudsync_autogen/mocs_compilation.cpp:2:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
[22/449] Building CXX object src/libsync/CMakeFiles/nextcloudsync.dir/account.cpp.o
../src/libsync/account.cpp: In member function 'void OCC::Account::setApprovedCerts(QList<QSslCertificate>)':
../src/libsync/account.cpp:372:47: warning: 'static void QSslSocket::addDefaultCaCertificates(const QList<QSslCertificate>&)' is deprecated [-Wdeprecated-declarations]
372 | QSslSocket::addDefaultCaCertificates(certs);
| ^
In file included from /usr/include/qt5/QtNetwork/QSslSocket:1,
from ../src/libsync/account.h:23,
from ../src/libsync/account.cpp:15:
/usr/include/qt5/QtNetwork/qsslsocket.h:181:31: note: declared here
181 | QT_DEPRECATED static void addDefaultCaCertificates(const QList<QSslCertificate> &certificates);
| ^~~~~~~~~~~~~~~~~~~~~~~~
../src/libsync/account.cpp: In member function 'void OCC::Account::slotHandleSslErrors(QNetworkReply*, QList<QSslError>)':
../src/libsync/account.cpp:464:63: warning: 'static void QSslSocket::addDefaultCaCertificates(const QList<QSslCertificate>&)' is deprecated [-Wdeprecated-declarations]
464 | QSslSocket::addDefaultCaCertificates(approvedCerts);
| ^
In file included from /usr/include/qt5/QtNetwork/QSslSocket:1,
from ../src/libsync/account.h:23,
from ../src/libsync/account.cpp:15:
/usr/include/qt5/QtNetwork/qsslsocket.h:181:31: note: declared here
181 | QT_DEPRECATED static void addDefaultCaCertificates(const QList<QSslCertificate> &certificates);
| ^~~~~~~~~~~~~~~~~~~~~~~~
[23/449] Building CXX object src/libsync/CMakeFiles/nextcloudsync.dir/pushnotifications.cpp.o
[24/449] Building CXX object src/libsync/CMakeFiles/nextcloudsync.dir/wordlist.cpp.o
[25/449] Building CXX object src/libsync/CMakeFiles/nextcloudsync.dir/bandwidthmanager.cpp.o
In file included from ../src/common/syncjournaldb.h:33,
from ../src/libsync/owncloudpropagator.h:29,
from ../src/libsync/bandwidthmanager.cpp:15:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtCore/qchar.h:43,
from /usr/include/qt5/QtCore/qhash.h:44,
from /usr/include/qt5/QtCore/QHash:1,
from ../src/libsync/owncloudpropagator.h:18,
from ../src/libsync/bandwidthmanager.cpp:15:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
[26/449] Building CXX object src/libsync/CMakeFiles/nextcloudsync.dir/capabilities.cpp.o
[27/449] Building CXX object src/libsync/CMakeFiles/nextcloudsync.dir/clientproxy.cpp.o
[28/449] Building CXX object src/libsync/CMakeFiles/nextcloudsync.dir/discovery.cpp.o
In file included from ../src/common/vfs.h:25,
from ../src/libsync/syncoptions.h:21,
from ../src/libsync/discoveryphase.h:28,
from ../src/libsync/discovery.h:18,
from ../src/libsync/discovery.cpp:15:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtCore/qnamespace.h:43,
from /usr/include/qt5/QtCore/qobjectdefs.h:48,
from /usr/include/qt5/QtCore/qobject.h:46,
from /usr/include/qt5/QtCore/QObject:1,
from ../src/libsync/discovery.h:17,
from ../src/libsync/discovery.cpp:15:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
[29/449] Building CXX object src/libsync/CMakeFiles/nextcloudsync.dir/cookiejar.cpp.o
[30/449] Building CXX object src/libsync/CMakeFiles/nextcloudsync.dir/discoveryphase.cpp.o
In file included from ../src/common/vfs.h:25,
from ../src/libsync/syncoptions.h:21,
from ../src/libsync/discoveryphase.h:28,
from ../src/libsync/discoveryphase.cpp:15:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtCore/qnamespace.h:43,
from /usr/include/qt5/QtCore/qobjectdefs.h:48,
from /usr/include/qt5/QtCore/qobject.h:46,
from /usr/include/qt5/QtCore/QObject:1,
from ../src/libsync/discoveryphase.h:17,
from ../src/libsync/discoveryphase.cpp:15:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
[31/449] Building CXX object src/libsync/CMakeFiles/nextcloudsync.dir/encryptfolderjob.cpp.o
In file included from ../src/common/syncjournaldb.h:33,
from ../src/libsync/encryptfolderjob.cpp:17:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
[32/449] Building CXX object src/libsync/CMakeFiles/nextcloudsync.dir/filesystem.cpp.o
[33/449] Building CXX object src/libsync/CMakeFiles/nextcloudsync.dir/httplogger.cpp.o
[34/449] Building CXX object src/libsync/CMakeFiles/nextcloudsync.dir/logger.cpp.o
../src/libsync/logger.cpp: In member function 'void OCC::Logger::doLog(const QString&)':
../src/libsync/logger.cpp:139:37: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations]
139 | (*_logstream) << msg << endl;
| ^~~~
In file included from /usr/include/qt5/QtCore/QTextStream:1,
from ../src/libsync/logger.h:22,
from ../src/libsync/logger.cpp:15:
/usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here
293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s);
| ^~~~
../src/libsync/logger.cpp:139:37: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations]
139 | (*_logstream) << msg << endl;
| ^~~~
In file included from /usr/include/qt5/QtCore/QTextStream:1,
from ../src/libsync/logger.h:22,
from ../src/libsync/logger.cpp:15:
/usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here
293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s);
| ^~~~
[35/449] Building CXX object src/libsync/CMakeFiles/nextcloudsync.dir/accessmanager.cpp.o
[36/449] Building CXX object src/libsync/CMakeFiles/nextcloudsync.dir/configfile.cpp.o
../src/libsync/configfile.cpp: In member function 'int OCC::ConfigFile::updateSegment() const':
../src/libsync/configfile.cpp:648:25: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations]
648 | segment = qrand() % 99;
| ^
In file included from /usr/include/qt5/QtCore/qsharedpointer.h:43,
from /usr/include/qt5/QtCore/QSharedPointer:1,
from ../src/libsync/configfile.h:20,
from ../src/libsync/configfile.cpp:17:
/usr/include/qt5/QtCore/qglobal.h:1274:80: note: declared here
1274 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand();
| ^~~~~
[37/449] Building CXX object src/libsync/CMakeFiles/nextcloudsync.dir/abstractnetworkjob.cpp.o
In file included from ../src/common/syncjournaldb.h:33,
from ../src/libsync/owncloudpropagator.h:29,
from ../src/libsync/abstractnetworkjob.cpp:36:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtCore/qloggingcategory.h:43,
from /usr/include/qt5/QtCore/QLoggingCategory:1,
from ../src/libsync/abstractnetworkjob.cpp:16:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
[38/449] Building CXX object src/libsync/CMakeFiles/nextcloudsync.dir/networkjobs.cpp.o
In file included from ../src/common/syncjournaldb.h:33,
from ../src/libsync/owncloudpropagator.h:29,
from ../src/libsync/networkjobs.cpp:41:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtCore/qjsonvalue.h:43,
from /usr/include/qt5/QtCore/qjsondocument.h:43,
from /usr/include/qt5/QtCore/QJsonDocument:1,
from ../src/libsync/networkjobs.cpp:16:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
[39/449] Building CXX object src/libsync/CMakeFiles/nextcloudsync.dir/owncloudpropagator.cpp.o
In file included from ../src/common/syncjournaldb.h:33,
from ../src/libsync/owncloudpropagator.h:29,
from ../src/libsync/owncloudpropagator.cpp:16:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtCore/qchar.h:43,
from /usr/include/qt5/QtCore/qhash.h:44,
from /usr/include/qt5/QtCore/QHash:1,
from ../src/libsync/owncloudpropagator.h:18,
from ../src/libsync/owncloudpropagator.cpp:16:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
[40/449] Building CXX object src/libsync/CMakeFiles/nextcloudsync.dir/nextcloudtheme.cpp.o
[41/449] Building CXX object src/libsync/CMakeFiles/nextcloudsync.dir/abstractpropagateremotedeleteencrypted.cpp.o
In file included from ../src/common/syncjournaldb.h:33,
from ../src/libsync/owncloudpropagator.h:29,
from ../src/libsync/abstractpropagateremotedeleteencrypted.cpp:22:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtCore/qiodevice.h:43,
from /usr/include/qt5/QtCore/qfiledevice.h:43,
from /usr/include/qt5/QtCore/qfile.h:44,
from /usr/include/qt5/QtCore/qfileinfo.h:43,
from /usr/include/qt5/QtCore/QFileInfo:1,
from ../src/libsync/abstractpropagateremotedeleteencrypted.cpp:15:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
[42/449] Building CXX object src/libsync/CMakeFiles/nextcloudsync.dir/deletejob.cpp.o
[43/449] Building CXX object src/libsync/CMakeFiles/nextcloudsync.dir/progressdispatcher.cpp.o
[44/449] Building CXX object src/libsync/CMakeFiles/nextcloudsync.dir/propagatorjobs.cpp.o
In file included from ../src/common/syncjournaldb.h:33,
from ../src/libsync/owncloudpropagator.h:29,
from ../src/libsync/propagatedownloadencrypted.h:8,
from ../src/libsync/propagatorjobs.cpp:17:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtCore/qatomic.h:41,
from /usr/include/qt5/QtCore/qrefcount.h:43,
from /usr/include/qt5/QtCore/qbytearray.h:44,
from /usr/include/qt5/QtCore/QByteArray:1,
from ../src/libsync/account.h:19,
from ../src/libsync/propagatorjobs.cpp:16:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
[45/449] Building CXX object src/libsync/CMakeFiles/nextcloudsync.dir/propagatedownload.cpp.o
In file included from ../src/common/syncjournaldb.h:33,
from ../src/libsync/owncloudpropagator.h:29,
from ../src/libsync/owncloudpropagator_p.h:18,
from ../src/libsync/propagatedownload.cpp:16:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtCore/qchar.h:43,
from /usr/include/qt5/QtCore/qhash.h:44,
from /usr/include/qt5/QtCore/QHash:1,
from ../src/libsync/owncloudpropagator.h:18,
from ../src/libsync/owncloudpropagator_p.h:18,
from ../src/libsync/propagatedownload.cpp:16:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
../src/libsync/propagatedownload.cpp: In function 'QString OCC::createDownloadTmpFileName(const QString&)':
../src/libsync/propagatedownload.cpp:65:110: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations]
65 | return tmpPath + '/' + '.' + tmpFileName.left(spaceForFileName) + ".~" + (QString::number(uint(qrand() % 0xFFFFFFFF), 16));
| ^
In file included from /usr/include/qt5/QtCore/qchar.h:43,
from /usr/include/qt5/QtCore/qhash.h:44,
from /usr/include/qt5/QtCore/QHash:1,
from ../src/libsync/owncloudpropagator.h:18,
from ../src/libsync/owncloudpropagator_p.h:18,
from ../src/libsync/propagatedownload.cpp:16:
/usr/include/qt5/QtCore/qglobal.h:1274:80: note: declared here
1274 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand();
| ^~~~~
../src/libsync/propagatedownload.cpp:67:94: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations]
67 | return '.' + tmpFileName.left(spaceForFileName) + ".~" + (QString::number(uint(qrand() % 0xFFFFFFFF), 16));
| ^
In file included from /usr/include/qt5/QtCore/qchar.h:43,
from /usr/include/qt5/QtCore/qhash.h:44,
from /usr/include/qt5/QtCore/QHash:1,
from ../src/libsync/owncloudpropagator.h:18,
from ../src/libsync/owncloudpropagator_p.h:18,
from ../src/libsync/propagatedownload.cpp:16:
/usr/include/qt5/QtCore/qglobal.h:1274:80: note: declared here
1274 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand();
| ^~~~~
[46/449] Building CXX object src/libsync/CMakeFiles/nextcloudsync.dir/propagateupload.cpp.o
In file included from ../src/common/syncjournaldb.h:33,
from ../src/libsync/owncloudpropagator.h:29,
from ../src/libsync/propagateupload.h:16,
from ../src/libsync/propagateupload.cpp:16:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtCore/qchar.h:43,
from /usr/include/qt5/QtCore/qhash.h:44,
from /usr/include/qt5/QtCore/QHash:1,
from ../src/libsync/owncloudpropagator.h:18,
from ../src/libsync/propagateupload.h:16,
from ../src/libsync/propagateupload.cpp:16:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
[47/449] Building CXX object src/libsync/CMakeFiles/nextcloudsync.dir/propagateuploadv1.cpp.o
In file included from ../src/common/syncjournaldb.h:33,
from ../src/libsync/owncloudpropagator.h:29,
from ../src/libsync/propagateupload.h:16,
from ../src/libsync/propagateuploadv1.cpp:16:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtCore/qchar.h:43,
from /usr/include/qt5/QtCore/qhash.h:44,
from /usr/include/qt5/QtCore/QHash:1,
from ../src/libsync/owncloudpropagator.h:18,
from ../src/libsync/propagateupload.h:16,
from ../src/libsync/propagateuploadv1.cpp:16:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
../src/libsync/propagateuploadv1.cpp: In member function 'virtual void OCC::PropagateUploadFileV1::doStartUpload()':
../src/libsync/propagateuploadv1.cpp:42:30: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations]
42 | _transferId = uint(qrand()) ^ uint(_item->_modtime) ^ (uint(_fileToUpload._size) << 16);
| ^
In file included from /usr/include/qt5/QtCore/qchar.h:43,
from /usr/include/qt5/QtCore/qhash.h:44,
from /usr/include/qt5/QtCore/QHash:1,
from ../src/libsync/owncloudpropagator.h:18,
from ../src/libsync/propagateupload.h:16,
from ../src/libsync/propagateuploadv1.cpp:16:
/usr/include/qt5/QtCore/qglobal.h:1274:80: note: declared here
1274 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand();
| ^~~~~
[48/449] Building CXX object src/libsync/CMakeFiles/nextcloudsync.dir/propagateuploadng.cpp.o
In file included from ../src/common/syncjournaldb.h:33,
from ../src/libsync/owncloudpropagator.h:29,
from ../src/libsync/propagateupload.h:16,
from ../src/libsync/propagateuploadng.cpp:16:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtCore/qchar.h:43,
from /usr/include/qt5/QtCore/qhash.h:44,
from /usr/include/qt5/QtCore/QHash:1,
from ../src/libsync/owncloudpropagator.h:18,
from ../src/libsync/propagateupload.h:16,
from ../src/libsync/propagateuploadng.cpp:16:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
../src/libsync/propagateuploadng.cpp: In member function 'void OCC::PropagateUploadFileNG::startNewUpload()':
../src/libsync/propagateuploadng.cpp:232:30: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations]
232 | _transferId = uint(qrand() ^ uint(_item->_modtime) ^ (uint(_fileToUpload._size) << 16) ^ qHash(_fileToUpload._file));
| ^
In file included from /usr/include/qt5/QtCore/qchar.h:43,
from /usr/include/qt5/QtCore/qhash.h:44,
from /usr/include/qt5/QtCore/QHash:1,
from ../src/libsync/owncloudpropagator.h:18,
from ../src/libsync/propagateupload.h:16,
from ../src/libsync/propagateuploadng.cpp:16:
/usr/include/qt5/QtCore/qglobal.h:1274:80: note: declared here
1274 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand();
| ^~~~~
[49/449] Building CXX object src/libsync/CMakeFiles/nextcloudsync.dir/propagateremotedeleteencrypted.cpp.o
In file included from ../src/common/syncjournaldb.h:33,
from ../src/libsync/owncloudpropagator.h:29,
from ../src/libsync/propagateremotedeleteencrypted.cpp:17:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtCore/qnamespace.h:43,
from /usr/include/qt5/QtCore/qobjectdefs.h:48,
from /usr/include/qt5/QtCore/qobject.h:46,
from /usr/include/qt5/QtCore/QObject:1,
from ../src/libsync/abstractpropagateremotedeleteencrypted.h:17,
from ../src/libsync/propagateremotedeleteencrypted.h:17,
from ../src/libsync/propagateremotedeleteencrypted.cpp:15:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
[50/449] Building CXX object src/libsync/CMakeFiles/nextcloudsync.dir/propagateremotedelete.cpp.o
In file included from ../src/common/syncjournaldb.h:33,
from ../src/libsync/owncloudpropagator.h:29,
from ../src/libsync/propagateremotedelete.h:16,
from ../src/libsync/propagateremotedelete.cpp:15:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtCore/qchar.h:43,
from /usr/include/qt5/QtCore/qhash.h:44,
from /usr/include/qt5/QtCore/QHash:1,
from ../src/libsync/owncloudpropagator.h:18,
from ../src/libsync/propagateremotedelete.h:16,
from ../src/libsync/propagateremotedelete.cpp:15:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
[51/449] Building CXX object src/libsync/CMakeFiles/nextcloudsync.dir/propagateremotedeleteencryptedrootfolder.cpp.o
In file included from ../src/common/syncjournaldb.h:33,
from ../src/libsync/owncloudpropagator.h:29,
from ../src/libsync/propagateremotedeleteencryptedrootfolder.cpp:33:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtCore/qiodevice.h:43,
from /usr/include/qt5/QtCore/qfiledevice.h:43,
from /usr/include/qt5/QtCore/qfile.h:44,
from /usr/include/qt5/QtCore/qfileinfo.h:43,
from /usr/include/qt5/QtCore/QFileInfo:1,
from ../src/libsync/propagateremotedeleteencryptedrootfolder.cpp:26:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
[52/449] Building CXX object src/libsync/CMakeFiles/nextcloudsync.dir/propagateremotemove.cpp.o
In file included from ../src/common/syncjournaldb.h:33,
from ../src/libsync/owncloudpropagator.h:29,
from ../src/libsync/propagateremotemove.h:16,
from ../src/libsync/propagateremotemove.cpp:15:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtCore/qchar.h:43,
from /usr/include/qt5/QtCore/qhash.h:44,
from /usr/include/qt5/QtCore/QHash:1,
from ../src/libsync/owncloudpropagator.h:18,
from ../src/libsync/propagateremotemove.h:16,
from ../src/libsync/propagateremotemove.cpp:15:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
[53/449] Building CXX object src/libsync/CMakeFiles/nextcloudsync.dir/propagateremotemkdir.cpp.o
In file included from ../src/common/syncjournaldb.h:33,
from ../src/libsync/owncloudpropagator.h:29,
from ../src/libsync/propagateremotemkdir.h:16,
from ../src/libsync/propagateremotemkdir.cpp:15:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtCore/qchar.h:43,
from /usr/include/qt5/QtCore/qhash.h:44,
from /usr/include/qt5/QtCore/QHash:1,
from ../src/libsync/owncloudpropagator.h:18,
from ../src/libsync/propagateremotemkdir.h:16,
from ../src/libsync/propagateremotemkdir.cpp:15:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
[54/449] Building CXX object src/libsync/CMakeFiles/nextcloudsync.dir/propagateuploadencrypted.cpp.o
In file included from ../src/common/syncjournaldb.h:33,
from ../src/libsync/owncloudpropagator.h:29,
from ../src/libsync/propagateuploadencrypted.h:13,
from ../src/libsync/propagateuploadencrypted.cpp:1:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtCore/qnamespace.h:43,
from /usr/include/qt5/QtCore/qobjectdefs.h:48,
from /usr/include/qt5/QtCore/qobject.h:46,
from /usr/include/qt5/QtCore/QObject:1,
from ../src/libsync/propagateuploadencrypted.h:4,
from ../src/libsync/propagateuploadencrypted.cpp:1:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
[55/449] Building CXX object src/libsync/CMakeFiles/nextcloudsync.dir/propagatedownloadencrypted.cpp.o
In file included from ../src/common/syncjournaldb.h:33,
from ../src/libsync/owncloudpropagator.h:29,
from ../src/libsync/propagatedownloadencrypted.h:8,
from ../src/libsync/propagatedownloadencrypted.cpp:1:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtCore/qnamespace.h:43,
from /usr/include/qt5/QtCore/qobjectdefs.h:48,
from /usr/include/qt5/QtCore/qobject.h:46,
from /usr/include/qt5/QtCore/QObject:1,
from ../src/libsync/propagatedownloadencrypted.h:4,
from ../src/libsync/propagatedownloadencrypted.cpp:1:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
[56/449] Building CXX object src/libsync/CMakeFiles/nextcloudsync.dir/syncengine.cpp.o
In file included from ../src/common/vfs.h:25,
from ../src/libsync/syncoptions.h:21,
from ../src/libsync/discoveryphase.h:28,
from ../src/libsync/syncengine.h:34,
from ../src/libsync/syncengine.cpp:16:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtCore/qmutex.h:43,
from /usr/include/qt5/QtCore/QMutex:1,
from ../src/libsync/syncengine.h:20,
from ../src/libsync/syncengine.cpp:16:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
[57/449] Building CXX object src/libsync/CMakeFiles/nextcloudsync.dir/syncfilestatustracker.cpp.o
In file included from ../src/common/vfs.h:25,
from ../src/libsync/syncoptions.h:21,
from ../src/libsync/discoveryphase.h:28,
from ../src/libsync/syncengine.h:34,
from ../src/libsync/syncfilestatustracker.cpp:17:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtCore/qalgorithms.h:43,
from /usr/include/qt5/QtCore/qvector.h:43,
from /usr/include/qt5/QtCore/QVector:1,
from ../src/libsync/syncfileitem.h:18,
from ../src/libsync/syncfilestatustracker.h:20,
from ../src/libsync/syncfilestatustracker.cpp:16:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
../src/libsync/syncfilestatustracker.cpp: In member function 'void OCC::SyncFileStatusTracker::invalidateParentPaths(const QString&)':
../src/libsync/syncfilestatustracker.cpp:342:68: warning: 'QStringList QString::split(QChar, QString::SplitBehavior, Qt::CaseSensitivity) const' is deprecated: Use Qt::SplitBehavior variant instead [-Wdeprecated-declarations]
342 | QStringList splitPath = path.split('/', QString::SkipEmptyParts);
| ^
In file included from /usr/include/qt5/QtCore/qhashfunctions.h:44,
from /usr/include/qt5/QtCore/qvector.h:47,
from /usr/include/qt5/QtCore/QVector:1,
from ../src/libsync/syncfileitem.h:18,
from ../src/libsync/syncfilestatustracker.h:20,
from ../src/libsync/syncfilestatustracker.cpp:16:
/usr/include/qt5/QtCore/qstring.h:615:17: note: declared here
615 | QStringList split(QChar sep, SplitBehavior behavior,
| ^~~~~
[58/449] Building CXX object src/libsync/CMakeFiles/nextcloudsync.dir/syncfileitem.cpp.o
[59/449] Building CXX object src/libsync/CMakeFiles/nextcloudsync.dir/localdiscoverytracker.cpp.o
[60/449] Building CXX object src/libsync/CMakeFiles/nextcloudsync.dir/syncresult.cpp.o
[61/449] Building CXX object src/libsync/CMakeFiles/nextcloudsync.dir/theme.cpp.o
In file included from ../src/common/vfs.h:25,
from ../src/libsync/theme.cpp:20:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtGui/qtguiglobal.h:43,
from /usr/include/qt5/QtGui/qicon.h:43,
from /usr/include/qt5/QtGui/QIcon:1,
from ../src/libsync/theme.h:18,
from ../src/libsync/theme.cpp:15:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
../src/libsync/theme.cpp: In member function 'virtual QString OCC::Theme::versionSwitchOutput() const':
../src/libsync/theme.cpp:708:28: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations]
708 | << version() << endl;
| ^~~~
In file included from /usr/include/qt5/QtCore/qdebug.h:49,
from /usr/include/qt5/QtCore/QDebug:1,
from ../src/common/remotepermissions.h:24,
from ../src/csync/csync.h:46,
from ../src/libsync/syncfileitem.h:24,
from ../src/libsync/syncresult.h:23,
from ../src/libsync/theme.h:20,
from ../src/libsync/theme.cpp:15:
/usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here
293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s);
| ^~~~
../src/libsync/theme.cpp:708:28: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations]
708 | << version() << endl;
| ^~~~
In file included from /usr/include/qt5/QtCore/qdebug.h:49,
from /usr/include/qt5/QtCore/QDebug:1,
from ../src/common/remotepermissions.h:24,
from ../src/csync/csync.h:46,
from ../src/libsync/syncfileitem.h:24,
from ../src/libsync/syncresult.h:23,
from ../src/libsync/theme.h:20,
from ../src/libsync/theme.cpp:15:
/usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here
293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s);
| ^~~~
../src/libsync/theme.cpp:710:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations]
710 | stream << "Git revision " << GIT_SHA1 << endl;
| ^~~~
In file included from /usr/include/qt5/QtCore/qdebug.h:49,
from /usr/include/qt5/QtCore/QDebug:1,
from ../src/common/remotepermissions.h:24,
from ../src/csync/csync.h:46,
from ../src/libsync/syncfileitem.h:24,
from ../src/libsync/syncresult.h:23,
from ../src/libsync/theme.h:20,
from ../src/libsync/theme.cpp:15:
/usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here
293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s);
| ^~~~
../src/libsync/theme.cpp:710:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations]
710 | stream << "Git revision " << GIT_SHA1 << endl;
| ^~~~
In file included from /usr/include/qt5/QtCore/qdebug.h:49,
from /usr/include/qt5/QtCore/QDebug:1,
from ../src/common/remotepermissions.h:24,
from ../src/csync/csync.h:46,
from ../src/libsync/syncfileitem.h:24,
from ../src/libsync/syncresult.h:23,
from ../src/libsync/theme.h:20,
from ../src/libsync/theme.cpp:15:
/usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here
293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s);
| ^~~~
../src/libsync/theme.cpp:712:87: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations]
712 | stream << "Using Qt " << qVersion() << ", built against Qt " << QT_VERSION_STR << endl;
| ^~~~
In file included from /usr/include/qt5/QtCore/qdebug.h:49,
from /usr/include/qt5/QtCore/QDebug:1,
from ../src/common/remotepermissions.h:24,
from ../src/csync/csync.h:46,
from ../src/libsync/syncfileitem.h:24,
from ../src/libsync/syncresult.h:23,
from ../src/libsync/theme.h:20,
from ../src/libsync/theme.cpp:15:
/usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here
293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s);
| ^~~~
../src/libsync/theme.cpp:712:87: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations]
712 | stream << "Using Qt " << qVersion() << ", built against Qt " << QT_VERSION_STR << endl;
| ^~~~
In file included from /usr/include/qt5/QtCore/qdebug.h:49,
from /usr/include/qt5/QtCore/QDebug:1,
from ../src/common/remotepermissions.h:24,
from ../src/csync/csync.h:46,
from ../src/libsync/syncfileitem.h:24,
from ../src/libsync/syncresult.h:23,
from ../src/libsync/theme.h:20,
from ../src/libsync/theme.cpp:15:
/usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here
293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s);
| ^~~~
../src/libsync/theme.cpp:715:93: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations]
715 | stream << "Using Qt platform plugin '" << QGuiApplication::platformName() << "'" << endl;
| ^~~~
In file included from /usr/include/qt5/QtCore/qdebug.h:49,
from /usr/include/qt5/QtCore/QDebug:1,
from ../src/common/remotepermissions.h:24,
from ../src/csync/csync.h:46,
from ../src/libsync/syncfileitem.h:24,
from ../src/libsync/syncresult.h:23,
from ../src/libsync/theme.h:20,
from ../src/libsync/theme.cpp:15:
/usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here
293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s);
| ^~~~
../src/libsync/theme.cpp:715:93: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations]
715 | stream << "Using Qt platform plugin '" << QGuiApplication::platformName() << "'" << endl;
| ^~~~
In file included from /usr/include/qt5/QtCore/qdebug.h:49,
from /usr/include/qt5/QtCore/QDebug:1,
from ../src/common/remotepermissions.h:24,
from ../src/csync/csync.h:46,
from ../src/libsync/syncfileitem.h:24,
from ../src/libsync/syncresult.h:23,
from ../src/libsync/theme.h:20,
from ../src/libsync/theme.cpp:15:
/usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here
293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s);
| ^~~~
../src/libsync/theme.cpp:717:76: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations]
717 | stream << "Using '" << QSslSocket::sslLibraryVersionString() << "'" << endl;
| ^~~~
In file included from /usr/include/qt5/QtCore/qdebug.h:49,
from /usr/include/qt5/QtCore/QDebug:1,
from ../src/common/remotepermissions.h:24,
from ../src/csync/csync.h:46,
from ../src/libsync/syncfileitem.h:24,
from ../src/libsync/syncresult.h:23,
from ../src/libsync/theme.h:20,
from ../src/libsync/theme.cpp:15:
/usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here
293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s);
| ^~~~
../src/libsync/theme.cpp:717:76: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations]
717 | stream << "Using '" << QSslSocket::sslLibraryVersionString() << "'" << endl;
| ^~~~
In file included from /usr/include/qt5/QtCore/qdebug.h:49,
from /usr/include/qt5/QtCore/QDebug:1,
from ../src/common/remotepermissions.h:24,
from ../src/csync/csync.h:46,
from ../src/libsync/syncfileitem.h:24,
from ../src/libsync/syncresult.h:23,
from ../src/libsync/theme.h:20,
from ../src/libsync/theme.cpp:15:
/usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here
293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s);
| ^~~~
../src/libsync/theme.cpp:718:105: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations]
718 | stream << "Running on " << Utility::platformName() << ", " << QSysInfo::currentCpuArchitecture() << endl;
| ^~~~
In file included from /usr/include/qt5/QtCore/qdebug.h:49,
from /usr/include/qt5/QtCore/QDebug:1,
from ../src/common/remotepermissions.h:24,
from ../src/csync/csync.h:46,
from ../src/libsync/syncfileitem.h:24,
from ../src/libsync/syncresult.h:23,
from ../src/libsync/theme.h:20,
from ../src/libsync/theme.cpp:15:
/usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here
293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s);
| ^~~~
../src/libsync/theme.cpp:718:105: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations]
718 | stream << "Running on " << Utility::platformName() << ", " << QSysInfo::currentCpuArchitecture() << endl;
| ^~~~
In file included from /usr/include/qt5/QtCore/qdebug.h:49,
from /usr/include/qt5/QtCore/QDebug:1,
from ../src/common/remotepermissions.h:24,
from ../src/csync/csync.h:46,
from ../src/libsync/syncfileitem.h:24,
from ../src/libsync/syncresult.h:23,
from ../src/libsync/theme.h:20,
from ../src/libsync/theme.cpp:15:
/usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here
293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s);
| ^~~~
[62/449] Building CXX object src/libsync/CMakeFiles/nextcloudsync.dir/clientsideencryption.cpp.o
[63/449] Building CXX object src/libsync/CMakeFiles/nextcloudsync.dir/clientsideencryptionjobs.cpp.o
[64/449] Building CXX object src/libsync/CMakeFiles/nextcloudsync.dir/creds/dummycredentials.cpp.o
[65/449] Building CXX object src/libsync/CMakeFiles/nextcloudsync.dir/creds/credentialscommon.cpp.o
In file included from ../src/common/vfs.h:25,
from ../src/libsync/syncoptions.h:21,
from ../src/libsync/discoveryphase.h:28,
from ../src/libsync/syncengine.h:34,
from ../src/libsync/creds/credentialscommon.cpp:26:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtCore/qalgorithms.h:43,
from /usr/include/qt5/QtCore/qlist.h:43,
from /usr/include/qt5/QtCore/QList:1,
from ../src/libsync/creds/credentialscommon.cpp:16:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
[66/449] Building CXX object src/libsync/CMakeFiles/nextcloudsync.dir/creds/abstractcredentials.cpp.o
[67/449] Building CXX object src/libsync/CMakeFiles/nextcloudsync.dir/creds/keychainchunk.cpp.o
[68/449] Building CXX object src/libsync/CMakeFiles/nextcloudsync.dir/creds/httpcredentials.cpp.o
In file included from ../src/common/vfs.h:25,
from ../src/libsync/syncoptions.h:21,
from ../src/libsync/discoveryphase.h:28,
from ../src/libsync/syncengine.h:34,
from ../src/libsync/creds/httpcredentials.cpp:31:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtCore/qloggingcategory.h:43,
from /usr/include/qt5/QtCore/QLoggingCategory:1,
from ../src/libsync/creds/httpcredentials.cpp:16:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
[69/449] Linking CXX shared library src/libsync/libnextcloudsync.so.3.3.5
[70/449] Creating library symlink src/libsync/libnextcloudsync.so.0 src/libsync/libnextcloudsync.so
[71/449] Automatic MOC for target nextcloudsync_vfs_suffix
[72/449] Building CXX object src/libsync/vfs/suffix/CMakeFiles/nextcloudsync_vfs_suffix.dir/nextcloudsync_vfs_suffix_autogen/mocs_compilation.cpp.o
In file included from ../src/common/vfs.h:25,
from src/libsync/vfs/suffix/nextcloudsync_vfs_suffix_autogen/EWIEGA46WW/../../../../../../../src/libsync/vfs/suffix/vfs_suffix.h:19,
from src/libsync/vfs/suffix/nextcloudsync_vfs_suffix_autogen/EWIEGA46WW/moc_vfs_suffix.cpp:10,
from src/libsync/vfs/suffix/nextcloudsync_vfs_suffix_autogen/mocs_compilation.cpp:2:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtCore/qnamespace.h:43,
from /usr/include/qt5/QtCore/qobjectdefs.h:48,
from /usr/include/qt5/QtCore/qobject.h:46,
from /usr/include/qt5/QtCore/QObject:1,
from src/libsync/vfs/suffix/nextcloudsync_vfs_suffix_autogen/EWIEGA46WW/../../../../../../../src/libsync/vfs/suffix/vfs_suffix.h:16,
from src/libsync/vfs/suffix/nextcloudsync_vfs_suffix_autogen/EWIEGA46WW/moc_vfs_suffix.cpp:10,
from src/libsync/vfs/suffix/nextcloudsync_vfs_suffix_autogen/mocs_compilation.cpp:2:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
[73/449] Building CXX object src/libsync/vfs/suffix/CMakeFiles/nextcloudsync_vfs_suffix.dir/vfs_suffix.cpp.o
In file included from ../src/common/vfs.h:25,
from ../src/libsync/vfs/suffix/vfs_suffix.h:19,
from ../src/libsync/vfs/suffix/vfs_suffix.cpp:15:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtCore/qnamespace.h:43,
from /usr/include/qt5/QtCore/qobjectdefs.h:48,
from /usr/include/qt5/QtCore/qobject.h:46,
from /usr/include/qt5/QtCore/QObject:1,
from ../src/libsync/vfs/suffix/vfs_suffix.h:16,
from ../src/libsync/vfs/suffix/vfs_suffix.cpp:15:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
[74/449] Linking CXX shared library bin/nextcloudsync_vfs_suffix.so
[75/449] Automatic MOC for target nextcloudsync_vfs_xattr
[76/449] Building CXX object src/libsync/vfs/xattr/CMakeFiles/nextcloudsync_vfs_xattr.dir/vfs_xattr.cpp.o
In file included from ../src/common/vfs.h:25,
from ../src/libsync/vfs/xattr/vfs_xattr.h:19,
from ../src/libsync/vfs/xattr/vfs_xattr.cpp:15:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtCore/qnamespace.h:43,
from /usr/include/qt5/QtCore/qobjectdefs.h:48,
from /usr/include/qt5/QtCore/qobject.h:46,
from /usr/include/qt5/QtCore/QObject:1,
from ../src/libsync/vfs/xattr/vfs_xattr.h:16,
from ../src/libsync/vfs/xattr/vfs_xattr.cpp:15:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
[77/449] Building CXX object src/libsync/vfs/xattr/CMakeFiles/nextcloudsync_vfs_xattr.dir/nextcloudsync_vfs_xattr_autogen/mocs_compilation.cpp.o
In file included from ../src/common/vfs.h:25,
from src/libsync/vfs/xattr/nextcloudsync_vfs_xattr_autogen/EWIEGA46WW/../../../../../../../src/libsync/vfs/xattr/vfs_xattr.h:19,
from src/libsync/vfs/xattr/nextcloudsync_vfs_xattr_autogen/EWIEGA46WW/moc_vfs_xattr.cpp:10,
from src/libsync/vfs/xattr/nextcloudsync_vfs_xattr_autogen/mocs_compilation.cpp:2:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtCore/qnamespace.h:43,
from /usr/include/qt5/QtCore/qobjectdefs.h:48,
from /usr/include/qt5/QtCore/qobject.h:46,
from /usr/include/qt5/QtCore/QObject:1,
from src/libsync/vfs/xattr/nextcloudsync_vfs_xattr_autogen/EWIEGA46WW/../../../../../../../src/libsync/vfs/xattr/vfs_xattr.h:16,
from src/libsync/vfs/xattr/nextcloudsync_vfs_xattr_autogen/EWIEGA46WW/moc_vfs_xattr.cpp:10,
from src/libsync/vfs/xattr/nextcloudsync_vfs_xattr_autogen/mocs_compilation.cpp:2:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
[78/449] Building CXX object src/libsync/vfs/xattr/CMakeFiles/nextcloudsync_vfs_xattr.dir/xattrwrapper_linux.cpp.o
[79/449] Linking CXX shared library bin/nextcloudsync_vfs_xattr.so
[80/449] Automatic MOC for target cmdCore
[81/449] Building CXX object src/cmd/CMakeFiles/cmdCore.dir/cmdCore_autogen/mocs_compilation.cpp.o
[82/449] Building CXX object src/cmd/CMakeFiles/cmdCore.dir/simplesslerrorhandler.cpp.o
[83/449] Building CXX object src/cmd/CMakeFiles/cmdCore.dir/netrcparser.cpp.o
[84/449] Linking CXX static library src/cmd/libcmdCore.a
[85/449] Automatic MOC for target nextcloudcmd
[86/449] Building CXX object src/cmd/CMakeFiles/nextcloudcmd.dir/nextcloudcmd_autogen/mocs_compilation.cpp.o
[87/449] Building CXX object src/cmd/CMakeFiles/nextcloudcmd.dir/cmd.cpp.o
In file included from ../src/common/vfs.h:25,
from ../src/libsync/syncoptions.h:21,
from ../src/libsync/discoveryphase.h:28,
from ../src/libsync/syncengine.h:34,
from ../src/cmd/cmd.cpp:37:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtCore/qcoreapplication.h:43,
from ../src/cmd/cmd.cpp:19:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
../src/cmd/cmd.cpp: In function 'void selectiveSyncFixup(OCC::SyncJournalDb*, const QStringList&)':
../src/cmd/cmd.cpp:298:108: warning: 'QSet<T> QList<T>::toSet() const [with T = QString]' is deprecated: Use QSet<T>(list.begin(), list.end()) instead. [-Wdeprecated-declarations]
298 | auto oldBlackListSet = journal->getSelectiveSyncList(SyncJournalDb::SelectiveSyncBlackList, &ok).toSet();
| ^
In file included from /usr/include/qt5/QtCore/qobject.h:49,
from /usr/include/qt5/QtCore/qcoreapplication.h:46,
from ../src/cmd/cmd.cpp:19:
/usr/include/qt5/QtCore/qlist.h:413:13: note: declared here
413 | QSet<T> toSet() const;
| ^~~~~
../src/cmd/cmd.cpp:300:43: warning: 'QSet<T> QList<T>::toSet() const [with T = QString]' is deprecated: Use QSet<T>(list.begin(), list.end()) instead. [-Wdeprecated-declarations]
300 | auto blackListSet = newList.toSet();
| ^
In file included from /usr/include/qt5/QtCore/qdebug.h:52,
from /usr/include/qt5/QtCore/qcborcommon.h:45,
from /usr/include/qt5/QtCore/qcborvalue.h:45,
from /usr/include/qt5/QtCore/qjsonvalue.h:46,
from /usr/include/qt5/QtCore/qjsondocument.h:43,
from /usr/include/qt5/QtCore/QJsonDocument:1,
from ../src/cmd/cmd.cpp:24:
/usr/include/qt5/QtCore/qset.h:406:30: note: declared here
406 | Q_OUTOFLINE_TEMPLATE QSet<T> QList<T>::toSet() const
| ^~~~~~~~
../src/cmd/cmd.cpp: In function 'int main(int, char**)':
../src/cmd/cmd.cpp:320:34: warning: 'void qsrand(uint)' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations]
320 | qsrand(std::random_device()());
| ^
In file included from /usr/include/qt5/QtCore/qcoreapplication.h:43,
from ../src/cmd/cmd.cpp:19:
/usr/include/qt5/QtCore/qglobal.h:1273:81: note: declared here
1273 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") void qsrand(uint seed);
| ^~~~~~
[88/449] Linking CXX executable bin/nextcloudcmd
[89/449] Automatic MOC and UIC for target nextcloudCore
[90/449] Generating client_TW.qm
Updating '/builddir/desktop-3.3.5/build/src/gui/client_TW.qm'...
Generated 257 translation(s) (257 finished and 0 unfinished)
Ignored 92 untranslated source text(s)
[91/449] Generating client_br.qm
Updating '/builddir/desktop-3.3.5/build/src/gui/client_br.qm'...
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Generated 801 translation(s) (801 finished and 0 unfinished)
Ignored 374 untranslated source text(s)
[92/449] Generating client_ca.qm
Updating '/builddir/desktop-3.3.5/build/src/gui/client_ca.qm'...
Generated 985 translation(s) (985 finished and 0 unfinished)
Ignored 190 untranslated source text(s)
[93/449] Generating client_cs.qm
Updating '/builddir/desktop-3.3.5/build/src/gui/client_cs.qm'...
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Generated 1175 translation(s) (1175 finished and 0 unfinished)
[94/449] Generating client_da.qm
Updating '/builddir/desktop-3.3.5/build/src/gui/client_da.qm'...
Generated 900 translation(s) (900 finished and 0 unfinished)
Ignored 275 untranslated source text(s)
[95/449] Generating client_de.qm
Updating '/builddir/desktop-3.3.5/build/src/gui/client_de.qm'...
Generated 1175 translation(s) (1175 finished and 0 unfinished)
[96/449] Generating client_bg.qm
Updating '/builddir/desktop-3.3.5/build/src/gui/client_bg.qm'...
Generated 989 translation(s) (989 finished and 0 unfinished)
Ignored 186 untranslated source text(s)
[97/449] Generating client_af.qm
Updating '/builddir/desktop-3.3.5/build/src/gui/client_af.qm'...
Generated 239 translation(s) (239 finished and 0 unfinished)
Ignored 639 untranslated source text(s)
[98/449] Generating client_el.qm
Updating '/builddir/desktop-3.3.5/build/src/gui/client_el.qm'...
Generated 1067 translation(s) (1067 finished and 0 unfinished)
Ignored 108 untranslated source text(s)
[99/449] Generating client_en.qm
Updating '/builddir/desktop-3.3.5/build/src/gui/client_en.qm'...
Generated 0 translation(s) (0 finished and 0 unfinished)
Ignored 724 untranslated source text(s)
[100/449] Generating client_en_GB.qm
Updating '/builddir/desktop-3.3.5/build/src/gui/client_en_GB.qm'...
Generated 678 translation(s) (678 finished and 0 unfinished)
Ignored 497 untranslated source text(s)
[101/449] Generating client_eo.qm
Updating '/builddir/desktop-3.3.5/build/src/gui/client_eo.qm'...
Generated 739 translation(s) (739 finished and 0 unfinished)
Ignored 436 untranslated source text(s)
[102/449] Generating client_es.qm
Updating '/builddir/desktop-3.3.5/build/src/gui/client_es.qm'...
Generated 1158 translation(s) (1158 finished and 0 unfinished)
Ignored 17 untranslated source text(s)
[103/449] Generating client_es_AR.qm
Updating '/builddir/desktop-3.3.5/build/src/gui/client_es_AR.qm'...
Generated 320 translation(s) (320 finished and 0 unfinished)
Ignored 855 untranslated source text(s)
[104/449] Generating client_es_CL.qm
Updating '/builddir/desktop-3.3.5/build/src/gui/client_es_CL.qm'...
Generated 568 translation(s) (568 finished and 0 unfinished)
Ignored 607 untranslated source text(s)
[105/449] Generating client_es_CO.qm
Updating '/builddir/desktop-3.3.5/build/src/gui/client_es_CO.qm'...
Generated 572 translation(s) (572 finished and 0 unfinished)
Ignored 603 untranslated source text(s)
[106/449] Generating client_sc.qm
Updating '/builddir/desktop-3.3.5/build/src/gui/client_sc.qm'...
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Generated 1125 translation(s) (1125 finished and 0 unfinished)
Ignored 50 untranslated source text(s)
[107/449] Generating client_es_CR.qm
Updating '/builddir/desktop-3.3.5/build/src/gui/client_es_CR.qm'...
Generated 568 translation(s) (568 finished and 0 unfinished)
Ignored 607 untranslated source text(s)
[108/449] Generating client_es_DO.qm
Updating '/builddir/desktop-3.3.5/build/src/gui/client_es_DO.qm'...
Generated 568 translation(s) (568 finished and 0 unfinished)
Ignored 607 untranslated source text(s)
[109/449] Generating client_es_EC.qm
Updating '/builddir/desktop-3.3.5/build/src/gui/client_es_EC.qm'...
Generated 569 translation(s) (569 finished and 0 unfinished)
Ignored 606 untranslated source text(s)
[110/449] Generating client_es_GT.qm
Updating '/builddir/desktop-3.3.5/build/src/gui/client_es_GT.qm'...
Generated 568 translation(s) (568 finished and 0 unfinished)
Ignored 607 untranslated source text(s)
[111/449] Generating client_es_HN.qm
Updating '/builddir/desktop-3.3.5/build/src/gui/client_es_HN.qm'...
Generated 568 translation(s) (568 finished and 0 unfinished)
Ignored 607 untranslated source text(s)
[112/449] Generating client_es_MX.qm
Updating '/builddir/desktop-3.3.5/build/src/gui/client_es_MX.qm'...
Generated 569 translation(s) (569 finished and 0 unfinished)
Ignored 606 untranslated source text(s)
[113/449] Generating client_es_SV.qm
Updating '/builddir/desktop-3.3.5/build/src/gui/client_es_SV.qm'...
Generated 568 translation(s) (568 finished and 0 unfinished)
Ignored 607 untranslated source text(s)
[114/449] Generating client_et.qm
Updating '/builddir/desktop-3.3.5/build/src/gui/client_et.qm'...
Generated 407 translation(s) (407 finished and 0 unfinished)
Ignored 768 untranslated source text(s)
[115/449] Generating client_eu.qm
Updating '/builddir/desktop-3.3.5/build/src/gui/client_eu.qm'...
Generated 1169 translation(s) (1169 finished and 0 unfinished)
Ignored 6 untranslated source text(s)
[116/449] Generating client_fa.qm
Updating '/builddir/desktop-3.3.5/build/src/gui/client_fa.qm'...
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Generated 636 translation(s) (636 finished and 0 unfinished)
Ignored 539 untranslated source text(s)
[117/449] Generating client_fi.qm
Updating '/builddir/desktop-3.3.5/build/src/gui/client_fi.qm'...
Generated 904 translation(s) (904 finished and 0 unfinished)
Ignored 271 untranslated source text(s)
[118/449] Generating client_fr.qm
Updating '/builddir/desktop-3.3.5/build/src/gui/client_fr.qm'...
Generated 1146 translation(s) (1146 finished and 0 unfinished)
Ignored 29 untranslated source text(s)
[119/449] Generating client_gl.qm
Updating '/builddir/desktop-3.3.5/build/src/gui/client_gl.qm'...
Generated 1021 translation(s) (1021 finished and 0 unfinished)
Ignored 154 untranslated source text(s)
[120/449] Generating client_he.qm
Updating '/builddir/desktop-3.3.5/build/src/gui/client_he.qm'...
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Generated 778 translation(s) (778 finished and 0 unfinished)
Ignored 397 untranslated source text(s)
[121/449] Generating client_hr.qm
Updating '/builddir/desktop-3.3.5/build/src/gui/client_hr.qm'...
Generated 1099 translation(s) (1099 finished and 0 unfinished)
Ignored 76 untranslated source text(s)
[122/449] Generating client_hu.qm
Updating '/builddir/desktop-3.3.5/build/src/gui/client_hu.qm'...
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Generated 1150 translation(s) (1150 finished and 0 unfinished)
Ignored 25 untranslated source text(s)
[123/449] Generating client_id.qm
Updating '/builddir/desktop-3.3.5/build/src/gui/client_id.qm'...
Generated 366 translation(s) (366 finished and 0 unfinished)
Ignored 809 untranslated source text(s)
[124/449] Generating client_is.qm
Updating '/builddir/desktop-3.3.5/build/src/gui/client_is.qm'...
Generated 712 translation(s) (712 finished and 0 unfinished)
Ignored 463 untranslated source text(s)
[125/449] Generating client_it.qm
Updating '/builddir/desktop-3.3.5/build/src/gui/client_it.qm'...
Generated 1173 translation(s) (1173 finished and 0 unfinished)
Ignored 2 untranslated source text(s)
[126/449] Generating client_ja.qm
Updating '/builddir/desktop-3.3.5/build/src/gui/client_ja.qm'...
Generated 1123 translation(s) (1123 finished and 0 unfinished)
Ignored 52 untranslated source text(s)
[127/449] Generating client_ko.qm
Updating '/builddir/desktop-3.3.5/build/src/gui/client_ko.qm'...
Generated 1046 translation(s) (1046 finished and 0 unfinished)
Ignored 129 untranslated source text(s)
[128/449] Generating client_lt_LT.qm
Updating '/builddir/desktop-3.3.5/build/src/gui/client_lt_LT.qm'...
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Generated 872 translation(s) (872 finished and 0 unfinished)
Ignored 303 untranslated source text(s)
[129/449] Generating client_lv.qm
Updating '/builddir/desktop-3.3.5/build/src/gui/client_lv.qm'...
Generated 365 translation(s) (365 finished and 0 unfinished)
Ignored 810 untranslated source text(s)
[130/449] Generating client_mk.qm
Updating '/builddir/desktop-3.3.5/build/src/gui/client_mk.qm'...
Generated 864 translation(s) (864 finished and 0 unfinished)
Ignored 311 untranslated source text(s)
[131/449] Generating client_nb_NO.qm
Updating '/builddir/desktop-3.3.5/build/src/gui/client_nb_NO.qm'...
Generated 699 translation(s) (699 finished and 0 unfinished)
Ignored 476 untranslated source text(s)
[132/449] Generating client_nl.qm
Updating '/builddir/desktop-3.3.5/build/src/gui/client_nl.qm'...
Generated 1120 translation(s) (1120 finished and 0 unfinished)
Ignored 55 untranslated source text(s)
[133/449] Generating client_oc.qm
Updating '/builddir/desktop-3.3.5/build/src/gui/client_oc.qm'...
Generated 637 translation(s) (637 finished and 0 unfinished)
Ignored 538 untranslated source text(s)
[134/449] Generating client_pl.qm
Updating '/builddir/desktop-3.3.5/build/src/gui/client_pl.qm'...
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Generated 1175 translation(s) (1175 finished and 0 unfinished)
[135/449] Generating client_pt.qm
Updating '/builddir/desktop-3.3.5/build/src/gui/client_pt.qm'...
Generated 728 translation(s) (728 finished and 0 unfinished)
Ignored 447 untranslated source text(s)
[136/449] Generating client_pt_BR.qm
Updating '/builddir/desktop-3.3.5/build/src/gui/client_pt_BR.qm'...
Generated 1158 translation(s) (1158 finished and 0 unfinished)
Ignored 17 untranslated source text(s)
[137/449] Generating client_ro.qm
Updating '/builddir/desktop-3.3.5/build/src/gui/client_ro.qm'...
Generated 536 translation(s) (536 finished and 0 unfinished)
Ignored 639 untranslated source text(s)
[138/449] Generating client_ru.qm
Updating '/builddir/desktop-3.3.5/build/src/gui/client_ru.qm'...
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Generated 1157 translation(s) (1157 finished and 0 unfinished)
Ignored 18 untranslated source text(s)
[139/449] Generating client_sk.qm
Updating '/builddir/desktop-3.3.5/build/src/gui/client_sk.qm'...
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Generated 1173 translation(s) (1173 finished and 0 unfinished)
Ignored 2 untranslated source text(s)
[140/449] Generating client_sl.qm
Updating '/builddir/desktop-3.3.5/build/src/gui/client_sl.qm'...
Generated 1131 translation(s) (1131 finished and 0 unfinished)
Ignored 44 untranslated source text(s)
[141/449] Generating client_sr.qm
Updating '/builddir/desktop-3.3.5/build/src/gui/client_sr.qm'...
Generated 797 translation(s) (797 finished and 0 unfinished)
Ignored 378 untranslated source text(s)
[142/449] Generating client_sv.qm
Updating '/builddir/desktop-3.3.5/build/src/gui/client_sv.qm'...
Generated 902 translation(s) (902 finished and 0 unfinished)
Ignored 273 untranslated source text(s)
[143/449] Generating client_th.qm
Updating '/builddir/desktop-3.3.5/build/src/gui/client_th.qm'...
Generated 634 translation(s) (634 finished and 0 unfinished)
Ignored 541 untranslated source text(s)
[144/449] Generating client_tr.qm
Updating '/builddir/desktop-3.3.5/build/src/gui/client_tr.qm'...
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Generated 1175 translation(s) (1175 finished and 0 unfinished)
[145/449] Generating client_uk.qm
Updating '/builddir/desktop-3.3.5/build/src/gui/client_uk.qm'...
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Generated 799 translation(s) (799 finished and 0 unfinished)
Ignored 376 untranslated source text(s)
[146/449] Generating client_zh_CN.qm
Updating '/builddir/desktop-3.3.5/build/src/gui/client_zh_CN.qm'...
Generated 1175 translation(s) (1175 finished and 0 unfinished)
[147/449] Generating client_zh_HK.qm
Updating '/builddir/desktop-3.3.5/build/src/gui/client_zh_HK.qm'...
Generated 1175 translation(s) (1175 finished and 0 unfinished)
[148/449] Generating client_zh_TW.qm
Updating '/builddir/desktop-3.3.5/build/src/gui/client_zh_TW.qm'...
Generated 1175 translation(s) (1175 finished and 0 unfinished)
[149/449] Automatic RCC for ../../resources.qrc
[150/449] Automatic RCC for ../../theme.qrc
[151/449] Building CXX object src/gui/CMakeFiles/nextcloud.dir/main.cpp.o
In file included from /usr/include/qt5/QtNetwork/QNetworkAccessManager:1,
from /usr/include/qt5/QtNetwork/qnetworkreply.h:49,
from /usr/include/qt5/QtNetwork/QNetworkReply:1,
from ../src/libsync/abstractnetworkjob.h:21,
from ../src/libsync/networkjobs.h:19,
from ../src/libsync/clientsideencryption.h:16,
from ../src/libsync/account.h:37,
from ../src/gui/accountmanager.h:17,
from ../src/gui/systray.h:20,
from ../src/gui/owncloudgui.h:18,
from ../src/gui/application.h:29,
from ../src/gui/main.cpp:25:
/usr/include/qt5/QtNetwork/qnetworkaccessmanager.h:153:89: warning: 'QNetworkConfiguration' is deprecated [-Wdeprecated-declarations]
153 | QT_DEPRECATED_VERSION_5_15 void setConfiguration(const QNetworkConfiguration &config);
| ^
/usr/include/qt5/QtNetwork/qnetworkaccessmanager.h:154:70: warning: 'QNetworkConfiguration' is deprecated [-Wdeprecated-declarations]
154 | QT_DEPRECATED_VERSION_5_15 QNetworkConfiguration configuration() const;
| ^~~~~
In file included from /usr/include/qt5/QtNetwork/qnetworkconfigmanager.h:49,
from /usr/include/qt5/QtNetwork/QNetworkConfigurationManager:1,
from ../src/gui/application.h:23,
from ../src/gui/main.cpp:25:
/usr/include/qt5/QtNetwork/qnetworkconfiguration.h:62:56: note: declared here
62 | class QT_DEPRECATED_BEARER_MANAGEMENT Q_NETWORK_EXPORT QNetworkConfiguration
| ^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt5/QtNetwork/QNetworkAccessManager:1,
from /usr/include/qt5/QtNetwork/qnetworkreply.h:49,
from /usr/include/qt5/QtNetwork/QNetworkReply:1,
from ../src/libsync/abstractnetworkjob.h:21,
from ../src/libsync/networkjobs.h:19,
from ../src/libsync/clientsideencryption.h:16,
from ../src/libsync/account.h:37,
from ../src/gui/accountmanager.h:17,
from ../src/gui/systray.h:20,
from ../src/gui/owncloudgui.h:18,
from ../src/gui/application.h:29,
from ../src/gui/main.cpp:25:
/usr/include/qt5/QtNetwork/qnetworkaccessmanager.h:155:76: warning: 'QNetworkConfiguration' is deprecated [-Wdeprecated-declarations]
155 | QT_DEPRECATED_VERSION_5_15 QNetworkConfiguration activeConfiguration() const;
| ^~~~~
In file included from /usr/include/qt5/QtNetwork/qnetworkconfigmanager.h:49,
from /usr/include/qt5/QtNetwork/QNetworkConfigurationManager:1,
from ../src/gui/application.h:23,
from ../src/gui/main.cpp:25:
/usr/include/qt5/QtNetwork/qnetworkconfiguration.h:62:56: note: declared here
62 | class QT_DEPRECATED_BEARER_MANAGEMENT Q_NETWORK_EXPORT QNetworkConfiguration
| ^~~~~~~~~~~~~~~~~~~~~
In file included from ../src/common/syncjournaldb.h:33,
from ../src/gui/folder.h:22,
from ../src/gui/folderman.h:23,
from ../src/gui/tray/UserModel.h:13,
from ../src/gui/systray.h:21,
from ../src/gui/owncloudgui.h:18,
from ../src/gui/application.h:29,
from ../src/gui/main.cpp:25:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtCore/QtGlobal:1,
from ../src/gui/main.cpp:15:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
In file included from ../src/gui/main.cpp:25:
../src/gui/application.h:105:68: warning: 'QNetworkConfiguration' is deprecated [-Wdeprecated-declarations]
105 | void slotSystemOnlineConfigurationChanged(QNetworkConfiguration);
| ^
In file included from /usr/include/qt5/QtNetwork/qnetworkconfigmanager.h:49,
from /usr/include/qt5/QtNetwork/QNetworkConfigurationManager:1,
from ../src/gui/application.h:23,
from ../src/gui/main.cpp:25:
/usr/include/qt5/QtNetwork/qnetworkconfiguration.h:62:56: note: declared here
62 | class QT_DEPRECATED_BEARER_MANAGEMENT Q_NETWORK_EXPORT QNetworkConfiguration
| ^~~~~~~~~~~~~~~~~~~~~
In file included from ../src/gui/main.cpp:25:
../src/gui/application.h:140:34: warning: 'QNetworkConfigurationManager' is deprecated [-Wdeprecated-declarations]
140 | QNetworkConfigurationManager _networkConfigurationManager;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt5/QtNetwork/QNetworkConfigurationManager:1,
from ../src/gui/application.h:23,
from ../src/gui/main.cpp:25:
/usr/include/qt5/QtNetwork/qnetworkconfigmanager.h:59:56: note: declared here
59 | class QT_DEPRECATED_BEARER_MANAGEMENT Q_NETWORK_EXPORT QNetworkConfigurationManager : public QObject
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
[152/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/nextcloudCore_autogen/mocs_compilation.cpp.o
In file included from ../src/common/syncjournaldb.h:33,
from src/gui/nextcloudCore_autogen/EWIEGA46WW/../../../../../src/gui/folder.h:22,
from src/gui/nextcloudCore_autogen/EWIEGA46WW/../../../../../src/gui/accountsettings.h:24,
from src/gui/nextcloudCore_autogen/EWIEGA46WW/moc_accountsettings.cpp:10,
from src/gui/nextcloudCore_autogen/mocs_compilation.cpp:7:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtGui/qtguiglobal.h:43,
from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43,
from /usr/include/qt5/QtWidgets/qwidget.h:43,
from /usr/include/qt5/QtWidgets/QWidget:1,
from src/gui/nextcloudCore_autogen/U6I6NBY3Z5/../../../../../src/3rdparty/QProgressIndicator/QProgressIndicator.h:28,
from src/gui/nextcloudCore_autogen/U6I6NBY3Z5/moc_QProgressIndicator.cpp:10,
from src/gui/nextcloudCore_autogen/mocs_compilation.cpp:2:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
[153/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/accountmanager.cpp.o
In file included from ../src/common/syncjournaldb.h:33,
from ../src/gui/folder.h:22,
from ../src/gui/folderman.h:23,
from ../src/gui/tray/UserModel.h:13,
from ../src/gui/systray.h:21,
from ../src/gui/owncloudgui.h:18,
from ../src/gui/proxyauthhandler.h:17,
from ../src/gui/accountmanager.cpp:18:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtCore/qatomic.h:41,
from /usr/include/qt5/QtCore/qrefcount.h:43,
from /usr/include/qt5/QtCore/qbytearray.h:44,
from /usr/include/qt5/QtCore/QByteArray:1,
from ../src/libsync/account.h:19,
from ../src/gui/accountmanager.h:17,
from ../src/gui/accountmanager.cpp:15:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
[154/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/accountsettings.cpp.o
In file included from ../src/common/syncjournaldb.h:33,
from ../src/gui/folder.h:22,
from ../src/gui/accountsettings.h:24,
from ../src/gui/accountsettings.cpp:16:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtGui/qtguiglobal.h:43,
from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43,
from /usr/include/qt5/QtWidgets/qwidget.h:43,
from /usr/include/qt5/QtWidgets/QWidget:1,
from ../src/gui/accountsettings.h:18,
from ../src/gui/accountsettings.cpp:16:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
[155/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/application.cpp.o
In file included from ../src/common/syncjournaldb.h:33,
from ../src/gui/folder.h:22,
from ../src/gui/folderman.h:23,
from ../src/gui/tray/UserModel.h:13,
from ../src/gui/systray.h:21,
from ../src/gui/owncloudgui.h:18,
from ../src/gui/application.h:29,
from ../src/gui/application.cpp:17:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtGui/qtguiglobal.h:43,
from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43,
from /usr/include/qt5/QtWidgets/qapplication.h:43,
from /usr/include/qt5/QtWidgets/QApplication:1,
from ../src/gui/application.h:18,
from ../src/gui/application.cpp:17:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
[156/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/conflictdialog.cpp.o
[157/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/folder.cpp.o
In file included from ../src/common/syncjournaldb.h:33,
from ../src/gui/folder.h:22,
from ../src/gui/folder.cpp:21:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtCore/qatomic.h:41,
from /usr/include/qt5/QtCore/qrefcount.h:43,
from /usr/include/qt5/QtCore/qbytearray.h:44,
from /usr/include/qt5/QtCore/QByteArray:1,
from ../src/libsync/account.h:19,
from ../src/gui/folder.cpp:18:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
[158/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/conflictsolver.cpp.o
[159/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/connectionvalidator.cpp.o
[160/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/foldercreationdialog.cpp.o
[161/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/folderman.cpp.o
In file included from ../src/common/syncjournaldb.h:33,
from ../src/gui/folder.h:22,
from ../src/gui/folderman.h:23,
from ../src/gui/folderman.cpp:15:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtCore/qnamespace.h:43,
from /usr/include/qt5/QtCore/qobjectdefs.h:48,
from /usr/include/qt5/QtCore/qobject.h:46,
from /usr/include/qt5/QtCore/QObject:1,
from ../src/gui/folderman.h:19,
from ../src/gui/folderman.cpp:15:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
[162/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/folderstatusmodel.cpp.o
In file included from ../src/common/syncjournaldb.h:33,
from ../src/gui/folder.h:22,
from ../src/gui/folderman.h:23,
from ../src/gui/folderstatusmodel.cpp:16:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtCore/qsharedpointer.h:43,
from /usr/include/qt5/QtCore/QSharedPointer:1,
from ../src/libsync/accountfwd.h:18,
from ../src/gui/folderstatusmodel.h:18,
from ../src/gui/folderstatusmodel.cpp:15:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
../src/gui/folderstatusmodel.cpp: In member function 'void OCC::FolderStatusModel::slotApplySelectiveSync()':
../src/gui/folderstatusmodel.cpp:910:182: warning: 'QList<T> QSet<T>::toList() const [with T = QString]' is deprecated: Use values() instead. [-Wdeprecated-declarations]
910 | QStringList toAddToWhiteList = ((oldBlackListSet + folder->journalDb()->getSelectiveSyncList(SyncJournalDb::SelectiveSyncUndecidedList, &ok).toSet()) - blackListSet).toList();
| ^
In file included from /usr/include/qt5/QtCore/qdebug.h:52,
from /usr/include/qt5/QtCore/qloggingcategory.h:44,
from /usr/include/qt5/QtCore/QLoggingCategory:1,
from ../src/gui/folderstatusmodel.h:20,
from ../src/gui/folderstatusmodel.cpp:15:
/usr/include/qt5/QtCore/qset.h:265:14: note: declared here
265 | QList<T> toList() const { return values(); }
| ^~~~~~
[163/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/folderwatcher.cpp.o
In file included from ../src/common/syncjournaldb.h:33,
from ../src/gui/folder.h:22,
from ../src/gui/folderwatcher.cpp:35:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtCore/qalgorithms.h:43,
from /usr/include/qt5/QtCore/qlist.h:43,
from /usr/include/qt5/QtCore/QList:1,
from ../src/gui/folderwatcher.h:20,
from ../src/gui/folderwatcher.cpp:16:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
[164/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/folderstatusdelegate.cpp.o
In file included from ../src/common/syncjournaldb.h:33,
from ../src/gui/folder.h:22,
from ../src/gui/folderman.h:23,
from ../src/gui/folderstatusdelegate.cpp:20:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtGui/qtguiglobal.h:43,
from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43,
from /usr/include/qt5/QtWidgets/qstyleditemdelegate.h:43,
from /usr/include/qt5/QtWidgets/QStyledItemDelegate:1,
from ../src/gui/folderstatusdelegate.h:17,
from ../src/gui/folderstatusdelegate.cpp:17:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
[165/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/folderstatusview.cpp.o
[166/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/folderwizard.cpp.o
In file included from ../src/common/syncjournaldb.h:33,
from ../src/gui/folder.h:22,
from ../src/gui/folderwizard.h:22,
from ../src/gui/folderwizard.cpp:15:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtGui/qtguiglobal.h:43,
from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43,
from /usr/include/qt5/QtWidgets/qwizard.h:43,
from /usr/include/qt5/QtWidgets/QWizard:1,
from ../src/gui/folderwizard.h:18,
from ../src/gui/folderwizard.cpp:15:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
[167/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/generalsettings.cpp.o
In file included from ../src/common/syncjournaldb.h:33,
from ../src/gui/folder.h:22,
from ../src/gui/folderman.h:23,
from ../src/gui/tray/UserModel.h:13,
from ../src/gui/systray.h:21,
from ../src/gui/owncloudgui.h:18,
from ../src/gui/application.h:29,
from ../src/gui/generalsettings.cpp:20:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtGui/qtguiglobal.h:43,
from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43,
from /usr/include/qt5/QtWidgets/qwidget.h:43,
from /usr/include/qt5/QtWidgets/QWidget:1,
from ../src/gui/generalsettings.h:18,
from ../src/gui/generalsettings.cpp:15:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
[168/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/legalnotice.cpp.o
[169/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/logbrowser.cpp.o
[170/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/ignorelisteditor.cpp.o
In file included from ../src/common/syncjournaldb.h:33,
from ../src/gui/folder.h:22,
from ../src/gui/folderman.h:23,
from ../src/gui/ignorelisteditor.cpp:17:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtCore/qsharedpointer.h:43,
from /usr/include/qt5/QtCore/QSharedPointer:1,
from ../src/libsync/configfile.h:20,
from ../src/gui/ignorelisteditor.cpp:15:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
[171/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/lockwatcher.cpp.o
[172/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/ignorelisttablewidget.cpp.o
In file included from ../src/common/syncjournaldb.h:33,
from ../src/gui/folder.h:22,
from ../src/gui/folderman.h:23,
from ../src/gui/ignorelisttablewidget.cpp:4:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtGui/qtguiglobal.h:43,
from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43,
from /usr/include/qt5/QtWidgets/qwidget.h:43,
from /usr/include/qt5/QtWidgets/QWidget:1,
from ../src/gui/ignorelisttablewidget.h:3,
from ../src/gui/ignorelisttablewidget.cpp:1:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
[173/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/navigationpanehelper.cpp.o
In file included from ../src/common/syncjournaldb.h:33,
from ../src/gui/folder.h:22,
from ../src/gui/folderman.h:23,
from ../src/gui/navigationpanehelper.cpp:18:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtCore/qnamespace.h:43,
from /usr/include/qt5/QtCore/qobjectdefs.h:48,
from /usr/include/qt5/QtCore/qobject.h:46,
from /usr/include/qt5/QtCore/QObject:1,
from ../src/gui/navigationpanehelper.h:19,
from ../src/gui/navigationpanehelper.cpp:15:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
[174/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/networksettings.cpp.o
In file included from ../src/common/syncjournaldb.h:33,
from ../src/gui/folder.h:22,
from ../src/gui/folderman.h:23,
from ../src/gui/tray/UserModel.h:13,
from ../src/gui/systray.h:21,
from ../src/gui/owncloudgui.h:18,
from ../src/gui/application.h:29,
from ../src/gui/networksettings.cpp:20:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtGui/qtguiglobal.h:43,
from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43,
from /usr/include/qt5/QtWidgets/qwidget.h:43,
from /usr/include/qt5/QtWidgets/QWidget:1,
from ../src/gui/networksettings.h:18,
from ../src/gui/networksettings.cpp:15:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
[175/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/ocsnavigationappsjob.cpp.o
[176/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/ocssharejob.cpp.o
[177/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/ocsjob.cpp.o
[178/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/settingsdialog.cpp.o
In file included from ../src/common/syncjournaldb.h:33,
from ../src/gui/folder.h:22,
from ../src/gui/folderman.h:23,
from ../src/gui/tray/UserModel.h:13,
from ../src/gui/systray.h:21,
from ../src/gui/owncloudgui.h:18,
from ../src/gui/settingsdialog.h:22,
from ../src/gui/settingsdialog.cpp:15:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtGui/qtguiglobal.h:43,
from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43,
from /usr/include/qt5/QtWidgets/qdialog.h:43,
from /usr/include/qt5/QtWidgets/QDialog:1,
from ../src/gui/settingsdialog.h:18,
from ../src/gui/settingsdialog.cpp:15:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
[179/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/ocsshareejob.cpp.o
[180/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/openfilemanager.cpp.o
../src/gui/openfilemanager.cpp: In function 'void OCC::showInFileManager(const QString&)':
../src/gui/openfilemanager.cpp:126:29: warning: 'void QProcess::start(const QString&, QIODevice::OpenMode)' is deprecated: Use QProcess::start(const QString &program, const QStringList &arguments,OpenMode mode = ReadWrite) instead [-Wdeprecated-declarations]
126 | p.start(explorer);
| ^
In file included from /usr/include/qt5/QtCore/QProcess:1,
from ../src/gui/openfilemanager.cpp:18:
/usr/include/qt5/QtCore/qprocess.h:168:10: note: declared here
168 | void start(const QString &command, OpenMode mode = ReadWrite);
| ^~~~~
[181/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/owncloudgui.cpp.o
In file included from ../src/common/syncjournaldb.h:33,
from ../src/gui/folder.h:22,
from ../src/gui/folderman.h:23,
from ../src/gui/tray/UserModel.h:13,
from ../src/gui/systray.h:21,
from ../src/gui/owncloudgui.h:18,
from ../src/gui/application.h:29,
from ../src/gui/owncloudgui.cpp:15:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtGui/qtguiglobal.h:43,
from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43,
from /usr/include/qt5/QtWidgets/qapplication.h:43,
from /usr/include/qt5/QtWidgets/QApplication:1,
from ../src/gui/application.h:18,
from ../src/gui/owncloudgui.cpp:15:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
[182/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/owncloudsetupwizard.cpp.o
In file included from ../src/common/syncjournaldb.h:33,
from ../src/gui/folder.h:22,
from ../src/gui/folderman.h:23,
from ../src/gui/owncloudsetupwizard.cpp:27:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtGui/qtguiglobal.h:43,
from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43,
from /usr/include/qt5/QtWidgets/qabstractbutton.h:43,
from /usr/include/qt5/QtWidgets/QAbstractButton:1,
from ../src/gui/owncloudsetupwizard.cpp:16:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
[183/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/selectivesyncdialog.cpp.o
In file included from ../src/common/syncjournaldb.h:33,
from ../src/gui/folder.h:22,
from ../src/gui/selectivesyncdialog.cpp:15:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtGui/qtguiglobal.h:43,
from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43,
from /usr/include/qt5/QtWidgets/qdialog.h:43,
from /usr/include/qt5/QtWidgets/QDialog:1,
from ../src/gui/selectivesyncdialog.h:16,
from ../src/gui/selectivesyncdialog.cpp:14:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
[184/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/sharedialog.cpp.o
In file included from ../src/common/syncjournaldb.h:33,
from ../src/gui/folder.h:22,
from ../src/gui/folderman.h:23,
from ../src/gui/tray/UserModel.h:13,
from ../src/gui/systray.h:21,
from ../src/gui/owncloudgui.h:18,
from ../src/gui/sharedialog.h:20,
from ../src/gui/sharedialog.cpp:16:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtCore/qatomic.h:41,
from /usr/include/qt5/QtCore/qvariant.h:43,
from /usr/include/qt5/QtCore/QVariant:1,
from src/gui/nextcloudCore_autogen/include/ui_sharedialog.h:12,
from ../src/gui/sharedialog.cpp:15:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
[185/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/sharelinkwidget.cpp.o
In file included from ../src/gui/guiutility.h:22,
from ../src/gui/sharelinkwidget.cpp:20:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
[186/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/sharemanager.cpp.o
In file included from ../src/common/syncjournaldb.h:33,
from ../src/gui/folder.h:22,
from ../src/gui/folderman.h:23,
from ../src/gui/sharemanager.cpp:18:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtCore/qsharedpointer.h:43,
from /usr/include/qt5/QtCore/QSharedPointer:1,
from ../src/libsync/accountfwd.h:18,
from ../src/gui/sharemanager.h:18,
from ../src/gui/sharemanager.cpp:15:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
[187/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/shareusergroupwidget.cpp.o
In file included from ../src/common/syncjournaldb.h:33,
from ../src/gui/folder.h:22,
from ../src/gui/folderman.h:23,
from ../src/gui/shareusergroupwidget.cpp:20:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtCore/qnamespace.h:43,
from /usr/include/qt5/QtCore/qobjectdefs.h:48,
from /usr/include/qt5/QtCore/qobject.h:46,
from /usr/include/qt5/QtCore/QObject:1,
from ../src/gui/sharee.h:18,
from ../src/gui/shareusergroupwidget.cpp:15:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
[188/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/sharee.cpp.o
[189/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/socketapi.cpp.o
In file included from ../src/common/syncjournaldb.h:33,
from ../src/gui/folder.h:22,
from ../src/gui/folderman.h:23,
from ../src/gui/tray/UserModel.h:13,
from ../src/gui/systray.h:21,
from ../src/gui/owncloudgui.h:18,
from ../src/gui/sharedialog.h:20,
from ../src/gui/socketapi.h:20,
from ../src/gui/socketapi.cpp:17:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtCore/qalgorithms.h:43,
from /usr/include/qt5/QtCore/qvector.h:43,
from /usr/include/qt5/QtCore/QVector:1,
from ../src/libsync/syncfileitem.h:18,
from ../src/gui/socketapi.h:18,
from ../src/gui/socketapi.cpp:17:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
[190/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/sslerrordialog.cpp.o
[191/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/sslbutton.cpp.o
[192/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/thumbnailjob.cpp.o
[193/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/userinfo.cpp.o
In file included from ../src/common/syncjournaldb.h:33,
from ../src/gui/folder.h:22,
from ../src/gui/folderman.h:23,
from ../src/gui/userinfo.cpp:20:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtCore/qnamespace.h:43,
from /usr/include/qt5/QtCore/qobjectdefs.h:48,
from /usr/include/qt5/QtCore/qobject.h:46,
from /usr/include/qt5/QtCore/QObject:1,
from ../src/gui/userinfo.h:19,
from ../src/gui/userinfo.cpp:16:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
[194/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/syncrunfilelog.cpp.o
[195/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/systray.cpp.o
In file included from ../src/common/syncjournaldb.h:33,
from ../src/gui/folder.h:22,
from ../src/gui/folderman.h:23,
from ../src/gui/tray/UserModel.h:13,
from ../src/gui/systray.h:21,
from ../src/gui/systray.cpp:16:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtCore/qatomic.h:41,
from /usr/include/qt5/QtCore/qrefcount.h:43,
from /usr/include/qt5/QtCore/qbytearray.h:44,
from /usr/include/qt5/QtCore/QByteArray:1,
from ../src/libsync/account.h:19,
from ../src/gui/accountmanager.h:17,
from ../src/gui/systray.cpp:15:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
[196/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/proxyauthhandler.cpp.o
In file included from ../src/common/syncjournaldb.h:33,
from ../src/gui/folder.h:22,
from ../src/gui/folderman.h:23,
from ../src/gui/tray/UserModel.h:13,
from ../src/gui/systray.h:21,
from ../src/gui/owncloudgui.h:18,
from ../src/gui/proxyauthhandler.h:17,
from ../src/gui/proxyauthhandler.cpp:15:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtGui/qtguiglobal.h:43,
from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43,
from /usr/include/qt5/QtWidgets/qsystemtrayicon.h:43,
from /usr/include/qt5/QtWidgets/QSystemTrayIcon:1,
from ../src/gui/systray.h:18,
from ../src/gui/owncloudgui.h:18,
from ../src/gui/proxyauthhandler.h:17,
from ../src/gui/proxyauthhandler.cpp:15:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
[197/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/proxyauthdialog.cpp.o
[198/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/userstatus.cpp.o
In file included from ../src/common/syncjournaldb.h:33,
from ../src/gui/folder.h:22,
from ../src/gui/folderman.h:23,
from ../src/gui/userstatus.cpp:19:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtCore/qsharedpointer.h:43,
from /usr/include/qt5/QtCore/qpointer.h:43,
from /usr/include/qt5/QtCore/QPointer:1,
from ../src/gui/userstatus.h:18,
from ../src/gui/userstatus.cpp:15:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
[199/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/accountstate.cpp.o
[200/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/addcertificatedialog.cpp.o
[201/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/authenticationdialog.cpp.o
[202/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/tooltipupdater.cpp.o
[203/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/notificationconfirmjob.cpp.o
[204/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/headerbanner.cpp.o
[205/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/iconjob.cpp.o
[206/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/guiutility.cpp.o
In file included from ../src/gui/guiutility.h:22,
from ../src/gui/guiutility.cpp:15:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
[207/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/elidedlabel.cpp.o
[208/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/remotewipe.cpp.o
In file included from ../src/common/syncjournaldb.h:33,
from ../src/gui/folder.h:22,
from ../src/gui/folderman.h:23,
from ../src/gui/remotewipe.cpp:16:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtCore/qatomic.h:41,
from /usr/include/qt5/QtCore/qrefcount.h:43,
from /usr/include/qt5/QtCore/qbytearray.h:44,
from /usr/include/qt5/QtCore/QByteArray:1,
from ../src/libsync/account.h:19,
from ../src/gui/accountmanager.h:17,
from ../src/gui/remotewipe.h:4,
from ../src/gui/remotewipe.cpp:15:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
[209/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/tray/ActivityData.cpp.o
[210/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/tray/ActivityListModel.cpp.o
In file included from ../src/common/syncjournaldb.h:33,
from ../src/gui/folder.h:22,
from ../src/gui/folderman.h:23,
from ../src/gui/tray/ActivityListModel.cpp:26:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtCore/QtCore:4,
from ../src/gui/tray/ActivityListModel.cpp:15:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
[211/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/tray/NotificationHandler.cpp.o
In file included from ../src/common/syncjournaldb.h:33,
from ../src/gui/folder.h:22,
from ../src/gui/folderman.h:23,
from ../src/gui/tray/UserModel.h:13,
from ../src/gui/tray/NotificationHandler.h:6,
from ../src/gui/tray/NotificationHandler.cpp:1:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtCore/QtCore:4,
from ../src/gui/tray/NotificationHandler.h:4,
from ../src/gui/tray/NotificationHandler.cpp:1:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
[212/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/tray/UserModel.cpp.o
In file included from ../src/common/syncjournaldb.h:33,
from ../src/gui/folder.h:22,
from ../src/gui/folderman.h:23,
from ../src/gui/tray/UserModel.h:13,
from ../src/gui/tray/NotificationHandler.h:6,
from ../src/gui/tray/UserModel.cpp:1:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtCore/QtCore:4,
from ../src/gui/tray/NotificationHandler.h:4,
from ../src/gui/tray/UserModel.cpp:1:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
[213/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/tray/NotificationCache.cpp.o
[214/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/creds/webflowcredentials.cpp.o
[215/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/creds/credentialsfactory.cpp.o
[216/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/creds/httpcredentialsgui.cpp.o
[217/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/creds/flow2auth.cpp.o
In file included from ../src/gui/guiutility.h:22,
from ../src/gui/creds/flow2auth.cpp:28:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
[218/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/creds/oauth.cpp.o
In file included from ../src/gui/guiutility.h:22,
from ../src/gui/creds/oauth.cpp:26:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
[219/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/creds/webflowcredentialsdialog.cpp.o
In file included from ../src/common/syncjournaldb.h:33,
from ../src/gui/folder.h:22,
from ../src/gui/folderman.h:23,
from ../src/gui/tray/UserModel.h:13,
from ../src/gui/systray.h:21,
from ../src/gui/owncloudgui.h:18,
from ../src/gui/application.h:29,
from ../src/gui/creds/webflowcredentialsdialog.cpp:7:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtGui/qtguiglobal.h:43,
from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43,
from /usr/include/qt5/QtWidgets/qdialog.h:43,
from /usr/include/qt5/QtWidgets/QDialog:1,
from ../src/gui/creds/webflowcredentialsdialog.h:4,
from ../src/gui/creds/webflowcredentialsdialog.cpp:1:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
[220/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/wizard/postfixlineedit.cpp.o
[221/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/wizard/abstractcredswizardpage.cpp.o
[222/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/wizard/owncloudconnectionmethoddialog.cpp.o
[223/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/wizard/owncloudadvancedsetuppage.cpp.o
In file included from ../src/common/syncjournaldb.h:33,
from ../src/gui/folder.h:22,
from ../src/gui/folderman.h:23,
from ../src/gui/wizard/owncloudadvancedsetuppage.cpp:33:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtCore/qchar.h:43,
from /usr/include/qt5/QtCore/qstring.h:49,
from /usr/include/qt5/QtCore/qdir.h:43,
from /usr/include/qt5/QtCore/QDir:1,
from ../src/gui/wizard/owncloudadvancedsetuppage.cpp:16:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
[224/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/wizard/owncloudhttpcredspage.cpp.o
[225/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/wizard/owncloudoauthcredspage.cpp.o
[226/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/wizard/flow2authcredspage.cpp.o
[227/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/wizard/owncloudsetuppage.cpp.o
[228/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/wizard/flow2authwidget.cpp.o
[229/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/wizard/owncloudwizardcommon.cpp.o
[230/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/wizard/owncloudwizard.cpp.o
In file included from ../src/common/syncjournaldb.h:33,
from ../src/gui/folder.h:22,
from ../src/gui/folderman.h:23,
from ../src/gui/tray/UserModel.h:13,
from ../src/gui/systray.h:21,
from ../src/gui/owncloudgui.h:18,
from ../src/gui/wizard/owncloudwizard.cpp:20:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtCore/qatomic.h:41,
from /usr/include/qt5/QtCore/qrefcount.h:43,
from /usr/include/qt5/QtCore/qbytearray.h:44,
from /usr/include/qt5/QtCore/QByteArray:1,
from ../src/libsync/account.h:19,
from ../src/gui/wizard/owncloudwizard.cpp:16:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
[231/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/wizard/owncloudwizardresultpage.cpp.o
In file included from ../src/gui/guiutility.h:22,
from ../src/gui/wizard/owncloudwizardresultpage.cpp:20:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
[232/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/wizard/linklabel.cpp.o
In file included from ../src/gui/guiutility.h:22,
from ../src/gui/wizard/linklabel.cpp:16:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
[233/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/wizard/welcomepage.cpp.o
In file included from ../src/gui/guiutility.h:22,
from ../src/gui/wizard/welcomepage.cpp:16:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
[234/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/wizard/slideshow.cpp.o
[235/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/wizard/webviewpage.cpp.o
[236/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/wizard/webview.cpp.o
In file included from ../src/gui/guiutility.h:22,
from ../src/gui/wizard/webview.cpp:19:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
[237/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/folderwatcher_linux.cpp.o
In file included from ../src/common/syncjournaldb.h:33,
from ../src/gui/folder.h:22,
from ../src/gui/folderwatcher_linux.cpp:19:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtCore/qalgorithms.h:43,
from /usr/include/qt5/QtCore/qlist.h:43,
from /usr/include/qt5/QtCore/qstringlist.h:41,
from /usr/include/qt5/QtCore/QStringList:1,
from ../src/libsync/syncresult.h:18,
from ../src/gui/folder.h:20,
from ../src/gui/folderwatcher_linux.cpp:19:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
[238/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/__/3rdparty/QProgressIndicator/QProgressIndicator.cpp.o
[239/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/__/3rdparty/qtlockedfile/qtlockedfile.cpp.o
[240/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/__/3rdparty/qtsingleapplication/qtlocalpeer.cpp.o
[241/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/cloudproviders/cloudprovidermanager.cpp.o
In file included from ../src/common/syncjournaldb.h:33,
from ../src/gui/folder.h:22,
from ../src/gui/folderman.h:23,
from ../src/gui/cloudproviders/cloudproviderwrapper.h:19,
from ../src/gui/cloudproviders/cloudprovidermanager.cpp:19:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtCore/qnamespace.h:43,
from /usr/include/qt5/QtCore/qobjectdefs.h:48,
from /usr/include/qt5/QtCore/qobject.h:46,
from /usr/include/qt5/QtCore/QObject:1,
from ../src/gui/cloudproviders/cloudproviderwrapper.h:18,
from ../src/gui/cloudproviders/cloudprovidermanager.cpp:19:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
[242/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/__/3rdparty/qtsingleapplication/qtsingleapplication.cpp.o
[243/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/__/3rdparty/qtsingleapplication/qtsinglecoreapplication.cpp.o
[244/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/__/3rdparty/kmessagewidget/kmessagewidget.cpp.o
[245/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/__/3rdparty/qtlockedfile/qtlockedfile_unix.cpp.o
[246/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/cloudproviders/cloudproviderwrapper.cpp.o
In file included from ../src/common/syncjournaldb.h:33,
from ../src/gui/folder.h:22,
from ../src/gui/folderman.h:23,
from ../src/gui/cloudproviders/cloudproviderwrapper.h:19,
from ../src/gui/cloudproviders/cloudproviderwrapper.cpp:21:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtCore/qnamespace.h:43,
from /usr/include/qt5/QtCore/qobjectdefs.h:48,
from /usr/include/qt5/QtCore/qobject.h:46,
from /usr/include/qt5/QtCore/QObject:1,
from ../src/gui/cloudproviders/cloudproviderwrapper.h:18,
from ../src/gui/cloudproviders/cloudproviderwrapper.cpp:21:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
[247/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/nextcloudCore_autogen/YCDLW3T4OG/qrc_resources.cpp.o
[248/449] Building CXX object src/gui/CMakeFiles/nextcloudCore.dir/nextcloudCore_autogen/YCDLW3T4OG/qrc_theme.cpp.o
[249/449] Linking CXX static library src/gui/libnextcloudCore.a
[250/449] Linking CXX executable bin/nextcloud
[251/449] Automatic MOC for target nextclouddolphinpluginhelper
[252/449] Building CXX object shell_integration/dolphin/CMakeFiles/nextclouddolphinpluginhelper.dir/nextclouddolphinpluginhelper_autogen/mocs_compilation.cpp.o
[253/449] Building CXX object shell_integration/dolphin/CMakeFiles/nextclouddolphinpluginhelper.dir/ownclouddolphinpluginhelper.cpp.o
[254/449] Linking CXX shared library shell_integration/dolphin/libnextclouddolphinpluginhelper.so
[255/449] Automatic MOC for target nextclouddolphinoverlayplugin
[256/449] Building CXX object shell_integration/dolphin/CMakeFiles/nextclouddolphinoverlayplugin.dir/nextclouddolphinoverlayplugin_autogen/mocs_compilation.cpp.o
[257/449] Building CXX object shell_integration/dolphin/CMakeFiles/nextclouddolphinoverlayplugin.dir/ownclouddolphinoverlayplugin.cpp.o
[258/449] Linking CXX shared module shell_integration/dolphin/nextclouddolphinoverlayplugin.so
[259/449] Automatic MOC for target nextclouddolphinactionplugin
[260/449] Building CXX object shell_integration/dolphin/CMakeFiles/nextclouddolphinactionplugin.dir/nextclouddolphinactionplugin_autogen/mocs_compilation.cpp.o
[261/449] Building CXX object shell_integration/dolphin/CMakeFiles/nextclouddolphinactionplugin.dir/ownclouddolphinactionplugin.cpp.o
[262/449] Linking CXX shared module shell_integration/dolphin/nextclouddolphinactionplugin.so
[263/449] Automatic MOC for target testutils
[264/449] Building CXX object test/CMakeFiles/testutils.dir/syncenginetestutils.cpp.o
In file included from ../src/common/vfs.h:25,
from ../src/libsync/syncoptions.h:21,
from ../src/libsync/discoveryphase.h:28,
from ../src/libsync/syncengine.h:34,
from ../test/syncenginetestutils.h:14,
from ../test/syncenginetestutils.cpp:8:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtCore/qatomic.h:41,
from /usr/include/qt5/QtCore/qrefcount.h:43,
from /usr/include/qt5/QtCore/qbytearray.h:44,
from /usr/include/qt5/QtCore/QByteArray:1,
from ../src/libsync/account.h:19,
from ../test/syncenginetestutils.h:9,
from ../test/syncenginetestutils.cpp:8:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
In file included from ../test/syncenginetestutils.cpp:8:
../test/syncenginetestutils.h: In function 'QByteArray generateEtag()':
../test/syncenginetestutils.h:55:115: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations]
55 | return QByteArray::number(QDateTime::currentDateTimeUtc().toMSecsSinceEpoch(), 16) + QByteArray::number(qrand(), 16);
| ^
In file included from /usr/include/qt5/QtCore/qatomic.h:41,
from /usr/include/qt5/QtCore/qrefcount.h:43,
from /usr/include/qt5/QtCore/qbytearray.h:44,
from /usr/include/qt5/QtCore/QByteArray:1,
from ../src/libsync/account.h:19,
from ../test/syncenginetestutils.h:9,
from ../test/syncenginetestutils.cpp:8:
/usr/include/qt5/QtCore/qglobal.h:1274:80: note: declared here
1274 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand();
| ^~~~~
In file included from ../test/syncenginetestutils.cpp:8:
../test/syncenginetestutils.h: In function 'QByteArray generateFileId()':
../test/syncenginetestutils.h:58:37: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations]
58 | return QByteArray::number(qrand(), 16);
| ^
In file included from /usr/include/qt5/QtCore/qatomic.h:41,
from /usr/include/qt5/QtCore/qrefcount.h:43,
from /usr/include/qt5/QtCore/qbytearray.h:44,
from /usr/include/qt5/QtCore/QByteArray:1,
from ../src/libsync/account.h:19,
from ../test/syncenginetestutils.h:9,
from ../test/syncenginetestutils.cpp:8:
/usr/include/qt5/QtCore/qglobal.h:1274:80: note: declared here
1274 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand();
| ^~~~~
../test/syncenginetestutils.cpp: In constructor 'PathComponents::PathComponents(const QString&)':
../test/syncenginetestutils.cpp:23:73: warning: 'QStringList QString::split(QChar, QString::SplitBehavior, Qt::CaseSensitivity) const' is deprecated: Use Qt::SplitBehavior variant instead [-Wdeprecated-declarations]
23 | : QStringList { path.split(QLatin1Char('/'), QString::SkipEmptyParts) }
| ^
In file included from /usr/include/qt5/QtCore/qurl.h:46,
from /usr/include/qt5/QtCore/QUrl:1,
from ../src/libsync/account.h:20,
from ../test/syncenginetestutils.h:9,
from ../test/syncenginetestutils.cpp:8:
/usr/include/qt5/QtCore/qstring.h:615:17: note: declared here
615 | QStringList split(QChar sep, SplitBehavior behavior,
| ^~~~~
../test/syncenginetestutils.cpp: In member function 'virtual void FakeHangingReply::abort()':
../test/syncenginetestutils.cpp:787:38: warning: 'void QNetworkReply::error(QNetworkReply::NetworkError)' is deprecated: Use QNetworkReply::errorOccurred(QNetworkReply::NetworkError) instead [-Wdeprecated-declarations]
787 | emit error(OperationCanceledError);
| ^
In file included from /usr/include/qt5/QtNetwork/QNetworkReply:1,
from ../src/libsync/abstractnetworkjob.h:21,
from ../src/libsync/networkjobs.h:19,
from ../src/libsync/clientsideencryption.h:16,
from ../src/libsync/account.h:37,
from ../test/syncenginetestutils.h:9,
from ../test/syncenginetestutils.cpp:8:
/usr/include/qt5/QtNetwork/qnetworkreply.h:161:10: note: declared here
161 | void error(QNetworkReply::NetworkError);
| ^~~~~
[265/449] Building CXX object test/CMakeFiles/testutils.dir/pushnotificationstestutils.cpp.o
[266/449] Building CXX object test/CMakeFiles/testutils.dir/testutils_autogen/mocs_compilation.cpp.o
In file included from ../src/common/vfs.h:25,
from ../src/libsync/syncoptions.h:21,
from ../src/libsync/discoveryphase.h:28,
from ../src/libsync/syncengine.h:34,
from test/testutils_autogen/EWIEGA46WW/../../../../test/syncenginetestutils.h:14,
from test/testutils_autogen/EWIEGA46WW/moc_syncenginetestutils.cpp:10,
from test/testutils_autogen/mocs_compilation.cpp:3:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtWebSockets/qwebsockets_global.h:43,
from /usr/include/qt5/QtWebSockets/qwebsocketserver.h:43,
from /usr/include/qt5/QtWebSockets/QWebSocketServer:1,
from test/testutils_autogen/EWIEGA46WW/../../../../test/pushnotificationstestutils.h:19,
from test/testutils_autogen/EWIEGA46WW/moc_pushnotificationstestutils.cpp:10,
from test/testutils_autogen/mocs_compilation.cpp:2:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
In file included from test/testutils_autogen/EWIEGA46WW/moc_syncenginetestutils.cpp:10,
from test/testutils_autogen/mocs_compilation.cpp:3:
test/testutils_autogen/EWIEGA46WW/../../../../test/syncenginetestutils.h: In function 'QByteArray generateEtag()':
test/testutils_autogen/EWIEGA46WW/../../../../test/syncenginetestutils.h:55:115: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations]
55 | return QByteArray::number(QDateTime::currentDateTimeUtc().toMSecsSinceEpoch(), 16) + QByteArray::number(qrand(), 16);
| ^
In file included from /usr/include/qt5/QtWebSockets/qwebsockets_global.h:43,
from /usr/include/qt5/QtWebSockets/qwebsocketserver.h:43,
from /usr/include/qt5/QtWebSockets/QWebSocketServer:1,
from test/testutils_autogen/EWIEGA46WW/../../../../test/pushnotificationstestutils.h:19,
from test/testutils_autogen/EWIEGA46WW/moc_pushnotificationstestutils.cpp:10,
from test/testutils_autogen/mocs_compilation.cpp:2:
/usr/include/qt5/QtCore/qglobal.h:1274:80: note: declared here
1274 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand();
| ^~~~~
In file included from test/testutils_autogen/EWIEGA46WW/moc_syncenginetestutils.cpp:10,
from test/testutils_autogen/mocs_compilation.cpp:3:
test/testutils_autogen/EWIEGA46WW/../../../../test/syncenginetestutils.h: In function 'QByteArray generateFileId()':
test/testutils_autogen/EWIEGA46WW/../../../../test/syncenginetestutils.h:58:37: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations]
58 | return QByteArray::number(qrand(), 16);
| ^
In file included from /usr/include/qt5/QtWebSockets/qwebsockets_global.h:43,
from /usr/include/qt5/QtWebSockets/qwebsocketserver.h:43,
from /usr/include/qt5/QtWebSockets/QWebSocketServer:1,
from test/testutils_autogen/EWIEGA46WW/../../../../test/pushnotificationstestutils.h:19,
from test/testutils_autogen/EWIEGA46WW/moc_pushnotificationstestutils.cpp:10,
from test/testutils_autogen/mocs_compilation.cpp:2:
/usr/include/qt5/QtCore/qglobal.h:1274:80: note: declared here
1274 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand();
| ^~~~~
[267/449] Building CXX object test/CMakeFiles/testutils.dir/themeutils.cpp.o
[268/449] Linking CXX static library test/libtestutils.a
[269/449] Automatic MOC for target SyncXAttrTest
[270/449] Automatic MOC for target NotificationCacheTest
[271/449] Automatic MOC for target ThemeTest
[272/449] Building CXX object test/CMakeFiles/ThemeTest.dir/ThemeTest_autogen/mocs_compilation.cpp.o
[273/449] Building CXX object test/CMakeFiles/ThemeTest.dir/testtheme.cpp.o
[274/449] Linking CXX executable bin/ThemeTest
[275/449] Automatic MOC for target LockedFilesTest
[276/449] Building CXX object test/CMakeFiles/LockedFilesTest.dir/LockedFilesTest_autogen/mocs_compilation.cpp.o
[277/449] Building CXX object test/CMakeFiles/LockedFilesTest.dir/testlockedfiles.cpp.o
In file included from ../src/common/vfs.h:25,
from ../src/libsync/syncoptions.h:21,
from ../src/libsync/discoveryphase.h:28,
from ../src/libsync/syncengine.h:34,
from ../test/syncenginetestutils.h:14,
from ../test/testlockedfiles.cpp:9:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtCore/QtCore:4,
from /usr/include/qt5/QtTest/QtTestDepends:3,
from /usr/include/qt5/QtTest/QtTest:3,
from ../test/testlockedfiles.cpp:8:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
In file included from ../test/testlockedfiles.cpp:9:
../test/syncenginetestutils.h: In function 'QByteArray generateEtag()':
../test/syncenginetestutils.h:55:115: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations]
55 | return QByteArray::number(QDateTime::currentDateTimeUtc().toMSecsSinceEpoch(), 16) + QByteArray::number(qrand(), 16);
| ^
In file included from /usr/include/qt5/QtCore/QtCore:4,
from /usr/include/qt5/QtTest/QtTestDepends:3,
from /usr/include/qt5/QtTest/QtTest:3,
from ../test/testlockedfiles.cpp:8:
/usr/include/qt5/QtCore/qglobal.h:1274:80: note: declared here
1274 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand();
| ^~~~~
In file included from ../test/testlockedfiles.cpp:9:
../test/syncenginetestutils.h: In function 'QByteArray generateFileId()':
../test/syncenginetestutils.h:58:37: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations]
58 | return QByteArray::number(qrand(), 16);
| ^
In file included from /usr/include/qt5/QtCore/QtCore:4,
from /usr/include/qt5/QtTest/QtTestDepends:3,
from /usr/include/qt5/QtTest/QtTest:3,
from ../test/testlockedfiles.cpp:8:
/usr/include/qt5/QtCore/qglobal.h:1274:80: note: declared here
1274 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand();
| ^~~~~
[278/449] Linking CXX executable bin/LockedFilesTest
[279/449] Automatic MOC for target NextcloudPropagatorTest
[280/449] Building CXX object test/CMakeFiles/NextcloudPropagatorTest.dir/NextcloudPropagatorTest_autogen/mocs_compilation.cpp.o
[281/449] Building CXX object test/CMakeFiles/NextcloudPropagatorTest.dir/testnextcloudpropagator.cpp.o
In file included from ../src/common/syncjournaldb.h:33,
from ../src/libsync/owncloudpropagator.h:29,
from ../src/libsync/propagatedownload.h:17,
from ../test/testnextcloudpropagator.cpp:10:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtCore/QtCore:4,
from /usr/include/qt5/QtTest/QtTestDepends:3,
from /usr/include/qt5/QtTest/QtTest:3,
from ../test/testnextcloudpropagator.cpp:7:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
[282/449] Linking CXX executable bin/NextcloudPropagatorTest
[283/449] Automatic MOC for target OAuthTest
[284/449] Automatic MOC for target ConcatUrlTest
[285/449] Building CXX object test/CMakeFiles/ConcatUrlTest.dir/ConcatUrlTest_autogen/mocs_compilation.cpp.o
[286/449] Building CXX object test/CMakeFiles/ConcatUrlTest.dir/testconcaturl.cpp.o
[287/449] Linking CXX executable bin/ConcatUrlTest
[288/449] Automatic MOC for target LargeSyncBench
[289/449] Automatic MOC for target XmlParseTest
[290/449] Building CXX object test/CMakeFiles/XmlParseTest.dir/XmlParseTest_autogen/mocs_compilation.cpp.o
[291/449] Building CXX object test/CMakeFiles/XmlParseTest.dir/testxmlparse.cpp.o
[292/449] Linking CXX executable bin/XmlParseTest
[293/449] Automatic MOC for target SyncJournalDBTest
[294/449] Building CXX object test/CMakeFiles/OAuthTest.dir/OAuthTest_autogen/mocs_compilation.cpp.o
[295/449] Building CXX object test/CMakeFiles/OAuthTest.dir/testoauth.cpp.o
In file included from ../src/common/vfs.h:25,
from ../src/libsync/syncoptions.h:21,
from ../src/libsync/discoveryphase.h:28,
from ../src/libsync/syncengine.h:34,
from ../test/syncenginetestutils.h:14,
from ../test/testoauth.cpp:12:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtCore/QtCore:4,
from /usr/include/qt5/QtTest/QtTestDepends:3,
from /usr/include/qt5/QtTest/QtTest:3,
from ../test/testoauth.cpp:8:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
In file included from ../test/testoauth.cpp:12:
../test/syncenginetestutils.h: In function 'QByteArray generateEtag()':
../test/syncenginetestutils.h:55:115: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations]
55 | return QByteArray::number(QDateTime::currentDateTimeUtc().toMSecsSinceEpoch(), 16) + QByteArray::number(qrand(), 16);
| ^
In file included from /usr/include/qt5/QtCore/QtCore:4,
from /usr/include/qt5/QtTest/QtTestDepends:3,
from /usr/include/qt5/QtTest/QtTest:3,
from ../test/testoauth.cpp:8:
/usr/include/qt5/QtCore/qglobal.h:1274:80: note: declared here
1274 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand();
| ^~~~~
In file included from ../test/testoauth.cpp:12:
../test/syncenginetestutils.h: In function 'QByteArray generateFileId()':
../test/syncenginetestutils.h:58:37: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations]
58 | return QByteArray::number(qrand(), 16);
| ^
In file included from /usr/include/qt5/QtCore/QtCore:4,
from /usr/include/qt5/QtTest/QtTestDepends:3,
from /usr/include/qt5/QtTest/QtTest:3,
from ../test/testoauth.cpp:8:
/usr/include/qt5/QtCore/qglobal.h:1274:80: note: declared here
1274 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand();
| ^~~~~
[296/449] Linking CXX executable bin/OAuthTest
[297/449] Automatic MOC for target UtilityTest
[298/449] Building CXX object test/CMakeFiles/UtilityTest.dir/UtilityTest_autogen/mocs_compilation.cpp.o
[299/449] Building CXX object test/CMakeFiles/UtilityTest.dir/testutility.cpp.o
../test/testutility.cpp: In member function 'void TestUtility::testLaunchOnStartup()':
../test/testutility.cpp:61:55: warning: 'void qsrand(uint)' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations]
61 | qsrand(QDateTime::currentDateTime().toTime_t());
| ^
In file included from /usr/include/qt5/QtCore/QtCore:4,
from /usr/include/qt5/QtTest/QtTestDepends:3,
from /usr/include/qt5/QtTest/QtTest:3,
from ../test/testutility.cpp:7:
/usr/include/qt5/QtCore/qglobal.h:1273:81: note: declared here
1273 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") void qsrand(uint seed);
| ^~~~~~
../test/testutility.cpp:62:49: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations]
62 | QString postfix = QString::number(qrand());
| ^
In file included from /usr/include/qt5/QtCore/QtCore:4,
from /usr/include/qt5/QtTest/QtTestDepends:3,
from /usr/include/qt5/QtTest/QtTest:3,
from ../test/testutility.cpp:7:
/usr/include/qt5/QtCore/qglobal.h:1274:80: note: declared here
1274 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand();
| ^~~~~
[300/449] Linking CXX executable bin/UtilityTest
[301/449] Automatic MOC for target SelectiveSyncTest
[302/449] Building CXX object test/CMakeFiles/SelectiveSyncTest.dir/SelectiveSyncTest_autogen/mocs_compilation.cpp.o
[303/449] Building CXX object test/CMakeFiles/SelectiveSyncTest.dir/testselectivesync.cpp.o
In file included from ../src/common/vfs.h:25,
from ../src/libsync/syncoptions.h:21,
from ../src/libsync/discoveryphase.h:28,
from ../src/libsync/syncengine.h:34,
from ../test/syncenginetestutils.h:14,
from ../test/testselectivesync.cpp:9:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtCore/QtCore:4,
from /usr/include/qt5/QtTest/QtTestDepends:3,
from /usr/include/qt5/QtTest/QtTest:3,
from ../test/testselectivesync.cpp:8:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
In file included from ../test/testselectivesync.cpp:9:
../test/syncenginetestutils.h: In function 'QByteArray generateEtag()':
../test/syncenginetestutils.h:55:115: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations]
55 | return QByteArray::number(QDateTime::currentDateTimeUtc().toMSecsSinceEpoch(), 16) + QByteArray::number(qrand(), 16);
| ^
In file included from /usr/include/qt5/QtCore/QtCore:4,
from /usr/include/qt5/QtTest/QtTestDepends:3,
from /usr/include/qt5/QtTest/QtTest:3,
from ../test/testselectivesync.cpp:8:
/usr/include/qt5/QtCore/qglobal.h:1274:80: note: declared here
1274 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand();
| ^~~~~
In file included from ../test/testselectivesync.cpp:9:
../test/syncenginetestutils.h: In function 'QByteArray generateFileId()':
../test/syncenginetestutils.h:58:37: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations]
58 | return QByteArray::number(qrand(), 16);
| ^
In file included from /usr/include/qt5/QtCore/QtCore:4,
from /usr/include/qt5/QtTest/QtTestDepends:3,
from /usr/include/qt5/QtTest/QtTest:3,
from ../test/testselectivesync.cpp:8:
/usr/include/qt5/QtCore/qglobal.h:1274:80: note: declared here
1274 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand();
| ^~~~~
[304/449] Linking CXX executable bin/SelectiveSyncTest
[305/449] Automatic MOC for target SyncEngineTest
[306/449] Building CXX object test/CMakeFiles/SyncEngineTest.dir/SyncEngineTest_autogen/mocs_compilation.cpp.o
[307/449] Building CXX object test/CMakeFiles/SyncEngineTest.dir/testsyncengine.cpp.o
In file included from ../src/common/vfs.h:25,
from ../src/libsync/syncoptions.h:21,
from ../src/libsync/discoveryphase.h:28,
from ../src/libsync/syncengine.h:34,
from ../test/syncenginetestutils.h:14,
from ../test/testsyncengine.cpp:9:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtCore/QtCore:4,
from /usr/include/qt5/QtTest/QtTestDepends:3,
from /usr/include/qt5/QtTest/QtTest:3,
from ../test/testsyncengine.cpp:8:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
In file included from ../test/testsyncengine.cpp:9:
../test/syncenginetestutils.h: In function 'QByteArray generateEtag()':
../test/syncenginetestutils.h:55:115: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations]
55 | return QByteArray::number(QDateTime::currentDateTimeUtc().toMSecsSinceEpoch(), 16) + QByteArray::number(qrand(), 16);
| ^
In file included from /usr/include/qt5/QtCore/QtCore:4,
from /usr/include/qt5/QtTest/QtTestDepends:3,
from /usr/include/qt5/QtTest/QtTest:3,
from ../test/testsyncengine.cpp:8:
/usr/include/qt5/QtCore/qglobal.h:1274:80: note: declared here
1274 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand();
| ^~~~~
In file included from ../test/testsyncengine.cpp:9:
../test/syncenginetestutils.h: In function 'QByteArray generateFileId()':
../test/syncenginetestutils.h:58:37: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations]
58 | return QByteArray::number(qrand(), 16);
| ^
In file included from /usr/include/qt5/QtCore/QtCore:4,
from /usr/include/qt5/QtTest/QtTestDepends:3,
from /usr/include/qt5/QtTest/QtTest:3,
from ../test/testsyncengine.cpp:8:
/usr/include/qt5/QtCore/qglobal.h:1274:80: note: declared here
1274 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand();
| ^~~~~
[308/449] Linking CXX executable bin/SyncEngineTest
[309/449] Automatic MOC for target SyncFileStatusTrackerTest
[310/449] Building CXX object test/CMakeFiles/SyncFileStatusTrackerTest.dir/SyncFileStatusTrackerTest_autogen/mocs_compilation.cpp.o
[311/449] Building CXX object test/CMakeFiles/SyncFileStatusTrackerTest.dir/testsyncfilestatustracker.cpp.o
In file included from ../src/common/vfs.h:25,
from ../src/libsync/syncoptions.h:21,
from ../src/libsync/discoveryphase.h:28,
from ../src/libsync/syncengine.h:34,
from ../test/syncenginetestutils.h:14,
from ../test/testsyncfilestatustracker.cpp:9:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtCore/QtCore:4,
from /usr/include/qt5/QtTest/QtTestDepends:3,
from /usr/include/qt5/QtTest/QtTest:3,
from ../test/testsyncfilestatustracker.cpp:8:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
In file included from ../test/testsyncfilestatustracker.cpp:9:
../test/syncenginetestutils.h: In function 'QByteArray generateEtag()':
../test/syncenginetestutils.h:55:115: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations]
55 | return QByteArray::number(QDateTime::currentDateTimeUtc().toMSecsSinceEpoch(), 16) + QByteArray::number(qrand(), 16);
| ^
In file included from /usr/include/qt5/QtCore/QtCore:4,
from /usr/include/qt5/QtTest/QtTestDepends:3,
from /usr/include/qt5/QtTest/QtTest:3,
from ../test/testsyncfilestatustracker.cpp:8:
/usr/include/qt5/QtCore/qglobal.h:1274:80: note: declared here
1274 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand();
| ^~~~~
In file included from ../test/testsyncfilestatustracker.cpp:9:
../test/syncenginetestutils.h: In function 'QByteArray generateFileId()':
../test/syncenginetestutils.h:58:37: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations]
58 | return QByteArray::number(qrand(), 16);
| ^
In file included from /usr/include/qt5/QtCore/QtCore:4,
from /usr/include/qt5/QtTest/QtTestDepends:3,
from /usr/include/qt5/QtTest/QtTest:3,
from ../test/testsyncfilestatustracker.cpp:8:
/usr/include/qt5/QtCore/qglobal.h:1274:80: note: declared here
1274 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand();
| ^~~~~
[312/449] Linking CXX executable bin/SyncFileStatusTrackerTest
[313/449] Automatic MOC for target ExcludedFilesTest
[314/449] Building CXX object test/CMakeFiles/ExcludedFilesTest.dir/ExcludedFilesTest_autogen/mocs_compilation.cpp.o
[315/449] Building CXX object test/CMakeFiles/ExcludedFilesTest.dir/testexcludedfiles.cpp.o
[316/449] Linking CXX executable bin/ExcludedFilesTest
[317/449] Automatic MOC for target ChunkingNgTest
[318/449] Building CXX object test/CMakeFiles/ChunkingNgTest.dir/ChunkingNgTest_autogen/mocs_compilation.cpp.o
[319/449] Building CXX object test/CMakeFiles/ChunkingNgTest.dir/testchunkingng.cpp.o
In file included from ../src/common/vfs.h:25,
from ../src/libsync/syncoptions.h:21,
from ../src/libsync/discoveryphase.h:28,
from ../src/libsync/syncengine.h:34,
from ../test/syncenginetestutils.h:14,
from ../test/testchunkingng.cpp:9:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtCore/QtCore:4,
from /usr/include/qt5/QtTest/QtTestDepends:3,
from /usr/include/qt5/QtTest/QtTest:3,
from ../test/testchunkingng.cpp:8:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
In file included from ../test/testchunkingng.cpp:9:
../test/syncenginetestutils.h: In function 'QByteArray generateEtag()':
../test/syncenginetestutils.h:55:115: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations]
55 | return QByteArray::number(QDateTime::currentDateTimeUtc().toMSecsSinceEpoch(), 16) + QByteArray::number(qrand(), 16);
| ^
In file included from /usr/include/qt5/QtCore/QtCore:4,
from /usr/include/qt5/QtTest/QtTestDepends:3,
from /usr/include/qt5/QtTest/QtTest:3,
from ../test/testchunkingng.cpp:8:
/usr/include/qt5/QtCore/qglobal.h:1274:80: note: declared here
1274 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand();
| ^~~~~
In file included from ../test/testchunkingng.cpp:9:
../test/syncenginetestutils.h: In function 'QByteArray generateFileId()':
../test/syncenginetestutils.h:58:37: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations]
58 | return QByteArray::number(qrand(), 16);
| ^
In file included from /usr/include/qt5/QtCore/QtCore:4,
from /usr/include/qt5/QtTest/QtTestDepends:3,
from /usr/include/qt5/QtTest/QtTest:3,
from ../test/testchunkingng.cpp:8:
/usr/include/qt5/QtCore/qglobal.h:1274:80: note: declared here
1274 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand();
| ^~~~~
[320/449] Linking CXX executable bin/ChunkingNgTest
[321/449] Automatic MOC for target PermissionsTest
[322/449] Building CXX object test/CMakeFiles/PermissionsTest.dir/PermissionsTest_autogen/mocs_compilation.cpp.o
[323/449] Building CXX object test/CMakeFiles/PermissionsTest.dir/testpermissions.cpp.o
In file included from ../src/common/vfs.h:25,
from ../src/libsync/syncoptions.h:21,
from ../src/libsync/discoveryphase.h:28,
from ../src/libsync/syncengine.h:34,
from ../test/syncenginetestutils.h:14,
from ../test/testpermissions.cpp:9:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtCore/QtCore:4,
from /usr/include/qt5/QtTest/QtTestDepends:3,
from /usr/include/qt5/QtTest/QtTest:3,
from ../test/testpermissions.cpp:8:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
In file included from ../test/testpermissions.cpp:9:
../test/syncenginetestutils.h: In function 'QByteArray generateEtag()':
../test/syncenginetestutils.h:55:115: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations]
55 | return QByteArray::number(QDateTime::currentDateTimeUtc().toMSecsSinceEpoch(), 16) + QByteArray::number(qrand(), 16);
| ^
In file included from /usr/include/qt5/QtCore/QtCore:4,
from /usr/include/qt5/QtTest/QtTestDepends:3,
from /usr/include/qt5/QtTest/QtTest:3,
from ../test/testpermissions.cpp:8:
/usr/include/qt5/QtCore/qglobal.h:1274:80: note: declared here
1274 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand();
| ^~~~~
In file included from ../test/testpermissions.cpp:9:
../test/syncenginetestutils.h: In function 'QByteArray generateFileId()':
../test/syncenginetestutils.h:58:37: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations]
58 | return QByteArray::number(qrand(), 16);
| ^
In file included from /usr/include/qt5/QtCore/QtCore:4,
from /usr/include/qt5/QtTest/QtTestDepends:3,
from /usr/include/qt5/QtTest/QtTest:3,
from ../test/testpermissions.cpp:8:
/usr/include/qt5/QtCore/qglobal.h:1274:80: note: declared here
1274 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand();
| ^~~~~
[324/449] Linking CXX executable bin/PermissionsTest
[325/449] Automatic MOC for target RemoteWipeTest
[326/449] Building CXX object test/CMakeFiles/RemoteWipeTest.dir/RemoteWipeTest_autogen/mocs_compilation.cpp.o
[327/449] Building CXX object test/CMakeFiles/RemoteWipeTest.dir/testremotewipe.cpp.o
In file included from ../src/common/syncjournaldb.h:33,
from ../src/gui/folder.h:22,
from ../src/gui/folderman.h:23,
from ../test/testremotewipe.cpp:15:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from ../test/testremotewipe.cpp:8:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
[328/449] Linking CXX executable bin/RemoteWipeTest
[329/449] Automatic MOC for target FolderManTest
[330/449] Building CXX object test/CMakeFiles/FolderManTest.dir/FolderManTest_autogen/mocs_compilation.cpp.o
[331/449] Building CXX object test/CMakeFiles/FolderManTest.dir/testfolderman.cpp.o
In file included from ../src/common/syncjournaldb.h:33,
from ../src/gui/folder.h:22,
from ../src/gui/folderman.h:23,
from ../test/testfolderman.cpp:13:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from ../test/testfolderman.cpp:8:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
[332/449] Linking CXX executable bin/FolderManTest
[333/449] Building CXX object test/CMakeFiles/SyncXAttrTest.dir/SyncXAttrTest_autogen/mocs_compilation.cpp.o
[334/449] Building CXX object test/CMakeFiles/SyncXAttrTest.dir/testsyncxattr.cpp.o
In file included from ../src/common/vfs.h:25,
from ../src/libsync/syncoptions.h:21,
from ../src/libsync/discoveryphase.h:28,
from ../src/libsync/syncengine.h:34,
from ../test/syncenginetestutils.h:14,
from ../test/testsyncxattr.cpp:9:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtCore/QtCore:4,
from /usr/include/qt5/QtTest/QtTestDepends:3,
from /usr/include/qt5/QtTest/QtTest:3,
from ../test/testsyncxattr.cpp:8:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
In file included from ../test/testsyncxattr.cpp:9:
../test/syncenginetestutils.h: In function 'QByteArray generateEtag()':
../test/syncenginetestutils.h:55:115: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations]
55 | return QByteArray::number(QDateTime::currentDateTimeUtc().toMSecsSinceEpoch(), 16) + QByteArray::number(qrand(), 16);
| ^
In file included from /usr/include/qt5/QtCore/QtCore:4,
from /usr/include/qt5/QtTest/QtTestDepends:3,
from /usr/include/qt5/QtTest/QtTest:3,
from ../test/testsyncxattr.cpp:8:
/usr/include/qt5/QtCore/qglobal.h:1274:80: note: declared here
1274 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand();
| ^~~~~
In file included from ../test/testsyncxattr.cpp:9:
../test/syncenginetestutils.h: In function 'QByteArray generateFileId()':
../test/syncenginetestutils.h:58:37: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations]
58 | return QByteArray::number(qrand(), 16);
| ^
In file included from /usr/include/qt5/QtCore/QtCore:4,
from /usr/include/qt5/QtTest/QtTestDepends:3,
from /usr/include/qt5/QtTest/QtTest:3,
from ../test/testsyncxattr.cpp:8:
/usr/include/qt5/QtCore/qglobal.h:1274:80: note: declared here
1274 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand();
| ^~~~~
[335/449] Linking CXX executable bin/SyncXAttrTest
[336/449] Building CXX object test/CMakeFiles/NotificationCacheTest.dir/NotificationCacheTest_autogen/mocs_compilation.cpp.o
[337/449] Building CXX object test/CMakeFiles/NotificationCacheTest.dir/testnotificationcache.cpp.o
[338/449] Linking CXX executable bin/NotificationCacheTest
[339/449] Automatic MOC for target InotifyWatcherTest
[340/449] Building CXX object test/CMakeFiles/InotifyWatcherTest.dir/testinotifywatcher.cpp.o
../test/testinotifywatcher.cpp: In member function 'void TestInotifyWatcher::initTestCase()':
../test/testinotifywatcher.cpp:23:43: warning: 'void qsrand(uint)' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations]
23 | qsrand(QTime::currentTime().msec());
| ^
In file included from /usr/include/qt5/QtCore/QtCore:4,
from /usr/include/qt5/QtTest/QtTestDepends:3,
from /usr/include/qt5/QtTest/QtTest:3,
from ../test/testinotifywatcher.cpp:7:
/usr/include/qt5/QtCore/qglobal.h:1273:81: note: declared here
1273 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") void qsrand(uint seed);
| ^~~~~~
../test/testinotifywatcher.cpp:25:74: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations]
25 | _root = QDir::tempPath() + "/" + "test_" + QString::number(qrand());
| ^
In file included from /usr/include/qt5/QtCore/QtCore:4,
from /usr/include/qt5/QtTest/QtTestDepends:3,
from /usr/include/qt5/QtTest/QtTest:3,
from ../test/testinotifywatcher.cpp:7:
/usr/include/qt5/QtCore/qglobal.h:1274:80: note: declared here
1274 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand();
| ^~~~~
[341/449] Building CXX object test/CMakeFiles/InotifyWatcherTest.dir/InotifyWatcherTest_autogen/mocs_compilation.cpp.o
[342/449] Linking CXX executable bin/InotifyWatcherTest
[343/449] Building CXX object test/CMakeFiles/LargeSyncBench.dir/benchmarks/benchlargesync.cpp.o
In file included from ../src/common/vfs.h:25,
from ../src/libsync/syncoptions.h:21,
from ../src/libsync/discoveryphase.h:28,
from ../src/libsync/syncengine.h:34,
from ../test/syncenginetestutils.h:14,
from ../test/benchmarks/benchlargesync.cpp:8:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtCore/qatomic.h:41,
from /usr/include/qt5/QtCore/qrefcount.h:43,
from /usr/include/qt5/QtCore/qbytearray.h:44,
from /usr/include/qt5/QtCore/QByteArray:1,
from ../src/libsync/account.h:19,
from ../test/syncenginetestutils.h:9,
from ../test/benchmarks/benchlargesync.cpp:8:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool setPinState(const QString &folderPath, PinState state) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:240:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
240 | virtual Q_REQUIRED_RESULT Optional<PinState> pinState(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:249:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
249 | virtual Q_REQUIRED_RESULT AvailabilityResult availability(const QString &folderPath) = 0;
| ^~~~~~~~~~~~~~~~~
In file included from ../test/benchmarks/benchlargesync.cpp:8:
../test/syncenginetestutils.h: In function 'QByteArray generateEtag()':
../test/syncenginetestutils.h:55:115: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations]
55 | return QByteArray::number(QDateTime::currentDateTimeUtc().toMSecsSinceEpoch(), 16) + QByteArray::number(qrand(), 16);
| ^
In file included from /usr/include/qt5/QtCore/qatomic.h:41,
from /usr/include/qt5/QtCore/qrefcount.h:43,
from /usr/include/qt5/QtCore/qbytearray.h:44,
from /usr/include/qt5/QtCore/QByteArray:1,
from ../src/libsync/account.h:19,
from ../test/syncenginetestutils.h:9,
from ../test/benchmarks/benchlargesync.cpp:8:
/usr/include/qt5/QtCore/qglobal.h:1274:80: note: declared here
1274 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand();
| ^~~~~
In file included from ../test/benchmarks/benchlargesync.cpp:8:
../test/syncenginetestutils.h: In function 'QByteArray generateFileId()':
../test/syncenginetestutils.h:58:37: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations]
58 | return QByteArray::number(qrand(), 16);
| ^
In file included from /usr/include/qt5/QtCore/qatomic.h:41,
from /usr/include/qt5/QtCore/qrefcount.h:43,
from /usr/include/qt5/QtCore/qbytearray.h:44,
from /usr/include/qt5/QtCore/QByteArray:1,
from ../src/libsync/account.h:19,
from ../test/syncenginetestutils.h:9,
from ../test/benchmarks/benchlargesync.cpp:8:
/usr/include/qt5/QtCore/qglobal.h:1274:80: note: declared here
1274 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand();
| ^~~~~
[344/449] Building CXX object test/CMakeFiles/LargeSyncBench.dir/LargeSyncBench_autogen/mocs_compilation.cpp.o
[345/449] Linking CXX executable bin/LargeSyncBench
[346/449] Automatic MOC for target FolderWatcherTest
[347/449] Building CXX object test/CMakeFiles/FolderWatcherTest.dir/FolderWatcherTest_autogen/mocs_compilation.cpp.o
[348/449] Building CXX object test/CMakeFiles/FolderWatcherTest.dir/testfolderwatcher.cpp.o
../test/testfolderwatcher.cpp: In constructor 'TestFolderWatcher::TestFolderWatcher()':
../test/testfolderwatcher.cpp:107:43: warning: 'void qsrand(uint)' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations]
107 | qsrand(QTime::currentTime().msec());
| ^
In file included from /usr/include/qt5/QtCore/QtCore:4,
from /usr/include/qt5/QtTest/QtTestDepends:3,
from /usr/include/qt5/QtTest/QtTest:3,
from ../test/testfolderwatcher.cpp:8:
/usr/include/qt5/QtCore/qglobal.h:1273:81: note: declared here
1273 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") void qsrand(uint seed);
| ^~~~~~
[349/449] Linking CXX executable bin/FolderWatcherTest
[350/449] Automatic MOC for target LocalDiscoveryTest
[351/449] Building CXX object test/CMakeFiles/LocalDiscoveryTest.dir/testlocaldiscovery.cpp.o
In file included from ../src/common/vfs.h:25,
from ../src/libsync/syncoptions.h:21,
from ../src/libsync/discoveryphase.h:28,
from ../src/libsync/syncengine.h:34,
from ../test/syncenginetestutils.h:14,
from ../test/testlocaldiscovery.cpp:9:
../src/common/pinstate.h:80:20: warning: extra ';' [-Wpedantic]
80 | Q_ENUM_NS(PinState);
| ^
In file included from /usr/include/qt5/QtCore/qglobal.h:105,
from /usr/include/qt5/QtCore/QtCore:4,
from /usr/include/qt5/QtTest/QtTestDepends:3,
from /usr/include/qt5/QtTest/QtTest:3,
from ../test/testlocaldiscovery.cpp:8:
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:171:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
171 | virtual Q_REQUIRED_RESULT Result<void, QString> updateMetadata(const QString &filePath, time_t modtime, qint64 size, const QByteArray &fileId) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:174:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
174 | virtual Q_REQUIRED_RESULT Result<void, QString> createPlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:181:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
181 | virtual Q_REQUIRED_RESULT Result<void, QString> dehydratePlaceholder(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:188:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
188 | virtual Q_REQUIRED_RESULT bool needsMetadataUpdate(const SyncFileItem &item) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:203:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
203 | virtual Q_REQUIRED_RESULT Result<Vfs::ConvertToPlaceholderResult, QString> convertToPlaceholder(
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:209:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
209 | virtual Q_REQUIRED_RESULT bool isDehydratedPlaceholder(const QString &filePath) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: note: an attribute that appertains to a type-specifier is ignored
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:218:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
218 | virtual Q_REQUIRED_RESULT bool statTypeVirtualFile(csync_file_stat_t *stat, void *stat_data) = 0;
| ^~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qcompilerdetection.h:1149:29: warning: attribute ignored [-Wattributes]
1149 | # define Q_REQUIRED_RESULT [[nodiscard]]
| ^
../src/common/vfs.h:229:13: note: in expansion of macro 'Q_REQUIRED_RESULT'
229 | virtual Q_REQUIRED_RESULT bool set
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment