CMake Warning (dev) at CMakeLists.txt:325 (add_custom_command):
Exactly one of PRE_BUILD, PRE_LINK, or POST_BUILD must be given. Assuming
POST_BUILD to preserve backward compatibility.
Policy CMP0175 is not set: add_custom_command() rejects invalid arguments.
Run "cmake --help-policy CMP0175" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning:
Manually-specified variables were not used by the project:
CMAKE_LD_FLAGS
/var/pisi/flacon-12.0.0-13/work/flacon-12.0.0/cue.cpp: In member function ‘void Cue::read(const CueData&)’:
/var/pisi/flacon-12.0.0-13/work/flacon-12.0.0/cue.cpp:143:43: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList; typename std::add_const<_Tp>::type = const QList]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
143 | for (const Track &track : qAsConst(mTracks)) {
| ~~~~~~~~^~~~~~~~~
In file included from /usr/include/qt6/QtCore/qforeach.h:11,
from /usr/include/qt6/QtCore/qglobal.h:55,
from /usr/include/qt6/QtCore/qchar.h:8,
from /usr/include/qt6/QtCore/qstring.h:15,
from /usr/include/qt6/QtCore/QString:1,
from /var/pisi/flacon-12.0.0-13/work/flacon-12.0.0/cue.h:29,
from /var/pisi/flacon-12.0.0-13/work/flacon-12.0.0/cue.cpp:26:
/usr/include/qt6/QtCore/qttypetraits.h:40:45: note: declared here
40 | constexpr typename std::add_const::type &qAsConst(T &t) noexcept { return t; }
| ^~~~~~~~
/var/pisi/flacon-12.0.0-13/work/flacon-12.0.0/cue.cpp: In member function ‘void Cue::validate()’:
/var/pisi/flacon-12.0.0-13/work/flacon-12.0.0/cue.cpp:164:35: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList; typename std::add_const<_Tp>::type = const QList]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
164 | for (const Track &t : qAsConst(mTracks)) {
| ~~~~~~~~^~~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:40:45: note: declared here
40 | constexpr typename std::add_const::type &qAsConst(T &t) noexcept { return t; }
| ^~~~~~~~
At global scope:
cc1plus: note: unrecognized command-line option ‘-Wno-gnu-zero-variadic-macro-arguments’ may have been intended to silence earlier diagnostics