Skip to content

Instantly share code, notes, and snippets.

@M4rtinK
Created April 21, 2015 20:14
Show Gist options
  • Save M4rtinK/81900ecb69fe0c31edce to your computer and use it in GitHub Desktop.
Save M4rtinK/81900ecb69fe0c31edce to your computer and use it in GitHub Desktop.
O_DEBUG -DQT_QUICK_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_SQL_LIB -DQT_XML_LIB -DQT_DBUS_LIB -DQT_CORE_LIB -I. -I../mpv -I../mpv/build -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtQuick -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtX11Extras -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtQml -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtCore -Irelease -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o release/player/playlistmodel.o player/playlistmodel.cpp
/usr/lib64/ccache/g++ -c -include release/bomi -pipe -I/usr/include/ffmpeg -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fvisibility=hidden -I/usr/include/chardet -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/alsa -D_REENTRANT -Wno-non-template-friend -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -O2 -std=c++1y -Wall -W -D_REENTRANT -fPIE -DUSING_PCH -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DQT_NO_CAST_FROM_ASCII -DQT_NO_DEBUG -DQT_QUICK_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_SQL_LIB -DQT_XML_LIB -DQT_DBUS_LIB -DQT_CORE_LIB -I. -I../mpv -I../mpv/build -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtQuick -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtX11Extras -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtQml -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtCore -Irelease -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o release/player/recentinfo.o player/recentinfo.cpp
/usr/lib64/ccache/g++ -c -include release/bomi -pipe -I/usr/include/ffmpeg -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fvisibility=hidden -I/usr/include/chardet -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/alsa -D_REENTRANT -Wno-non-template-friend -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -O2 -std=c++1y -Wall -W -D_REENTRANT -fPIE -DUSING_PCH -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DQT_NO_CAST_FROM_ASCII -DQT_NO_DEBUG -DQT_QUICK_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_SQL_LIB -DQT_XML_LIB -DQT_DBUS_LIB -DQT_CORE_LIB -I. -I../mpv -I../mpv/build -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtQuick -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtX11Extras -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtQml -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtCore -Irelease -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o release/player/appstate.o player/appstate.cpp
/usr/lib64/ccache/g++ -c -include release/bomi -pipe -I/usr/include/ffmpeg -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fvisibility=hidden -I/usr/include/chardet -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/alsa -D_REENTRANT -Wno-non-template-friend -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -O2 -std=c++1y -Wall -W -D_REENTRANT -fPIE -DUSING_PCH -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DQT_NO_CAST_FROM_ASCII -DQT_NO_DEBUG -DQT_QUICK_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_SQL_LIB -DQT_XML_LIB -DQT_DBUS_LIB -DQT_CORE_LIB -I. -I../mpv -I../mpv/build -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtQuick -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtX11Extras -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtQml -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtCore -Irelease -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o release/player/rootmenu.o player/rootmenu.cpp
/usr/lib64/ccache/g++ -c -include release/bomi -pipe -I/usr/include/ffmpeg -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fvisibility=hidden -I/usr/include/chardet -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/alsa -D_REENTRANT -Wno-non-template-friend -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -O2 -std=c++1y -Wall -W -D_REENTRANT -fPIE -DUSING_PCH -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DQT_NO_CAST_FROM_ASCII -DQT_NO_DEBUG -DQT_QUICK_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_SQL_LIB -DQT_XML_LIB -DQT_DBUS_LIB -DQT_CORE_LIB -I. -I../mpv -I../mpv/build -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtQuick -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtX11Extras -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtQml -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtCore -Irelease -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o release/player/app.o player/app.cpp
/usr/lib64/ccache/g++ -c -include release/bomi -pipe -I/usr/include/ffmpeg -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fvisibility=hidden -I/usr/include/chardet -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/alsa -D_REENTRANT -Wno-non-template-friend -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -O2 -std=c++1y -Wall -W -D_REENTRANT -fPIE -DUSING_PCH -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DQT_NO_CAST_FROM_ASCII -DQT_NO_DEBUG -DQT_QUICK_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_SQL_LIB -DQT_XML_LIB -DQT_DBUS_LIB -DQT_CORE_LIB -I. -I../mpv -I../mpv/build -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtQuick -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtX11Extras -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtQml -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtCore -Irelease -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o release/player/playengine.o player/playengine.cpp
In file included from player/mpv.hpp:6:0,
from player/playengine_p.hpp:6,
from player/playengine.cpp:2:
player/mpv.hpp: In instantiation of 'Mpv::command(QByteArray&&, Func&&, const Args& ...)::<lambda()> [with Func = Mpv::tellAsync(QByteArray&&, const Args& ...) [with Args = {}]::<lambda(auto:2*)>; Args = {}]':
player/mpv.hpp:123:16: required from 'struct Mpv::command(QByteArray&&, Func&&, const Args& ...) [with Func = Mpv::tellAsync(QByteArray&&, const Args& ...) [with Args = {}]::<lambda(auto:2*)>; Args = {}]::<lambda()>'
player/mpv.hpp:123:16: required from 'bool Mpv::command(QByteArray&&, Func&&, const Args& ...) [with Func = Mpv::tellAsync(QByteArray&&, const Args& ...) [with Args = {}]::<lambda(auto:2*)>; Args = {}]'
player/mpv.hpp:193:21: required from 'bool Mpv::tellAsync(QByteArray&&, const Args& ...) [with Args = {}]'
player/playengine.cpp:589:78: required from here
player/mpv.hpp:18:92: error: redeclaration of 'const int& error'
(isSuccess(err) ? true : (_WriteLog(e2l(err), "Failed to " fmt ": %%", __VA_ARGS__, e2s(err)), false))
^
./misc/log.hpp:155:63: note: in definition of macro '_WriteLog'
{ return std::move(Log::parse(lv, getLogContext(), fmt, ##__VA_ARGS__)); })
^
player/mpv.hpp:123:16: note: in expansion of macro 'MPV_CHECK'
return MPV_CHECK(error, "execute %%", name);
^
player/mpv.hpp:18:44: note: 'const int& error' previously declared here
(isSuccess(err) ? true : (_WriteLog(e2l(err), "Failed to " fmt ": %%", __VA_ARGS__, e2s(err)), false))
^
./misc/log.hpp:155:35: note: in definition of macro '_WriteLog'
{ return std::move(Log::parse(lv, getLogContext(), fmt, ##__VA_ARGS__)); })
^
player/mpv.hpp:123:16: note: in expansion of macro 'MPV_CHECK'
return MPV_CHECK(error, "execute %%", name);
^
player/mpv.hpp: In instantiation of 'bool Mpv::command(QByteArray&&, Func&&, const Args& ...) [with Func = Mpv::tellAsync(QByteArray&&, const Args& ...) [with Args = {}]::<lambda(auto:2*)>; Args = {}]':
player/mpv.hpp:193:21: required from 'bool Mpv::tellAsync(QByteArray&&, const Args& ...) [with Args = {}]'
player/playengine.cpp:589:78: required from here
./misc/log.hpp:154:48: sorry, unimplemented: non-trivial designated initializers not supported
#define _WriteLog(lv, fmt, ...) Log::write(lv, [&] () \
^
player/mpv.hpp:18:31: note: in expansion of macro '_WriteLog'
(isSuccess(err) ? true : (_WriteLog(e2l(err), "Failed to " fmt ": %%", __VA_ARGS__, e2s(err)), false))
^
player/mpv.hpp:123:16: note: in expansion of macro 'MPV_CHECK'
return MPV_CHECK(error, "execute %%", name);
^
/usr/lib64/ccache/g++ -c -include release/bomi -pipe -I/usr/include/ffmpeg -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fvisibility=hidden -I/usr/include/chardet -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/alsa -D_REENTRANT -Wno-non-template-friend -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -O2 -std=c++1y -Wall -W -D_REENTRANT -fPIE -DUSING_PCH -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DQT_NO_CAST_FROM_ASCII -DQT_NO_DEBUG -DQT_QUICK_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_SQL_LIB -DQT_XML_LIB -DQT_DBUS_LIB -DQT_CORE_LIB -I. -I../mpv -I../mpv/build -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtQuick -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtX11Extras -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtQml -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtCore -Irelease -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o release/player/skin.o player/skin.cpp
player/mpv.hpp: In instantiation of 'Mpv::command(QByteArray&&, Func&&, const Args& ...)::<lambda()> [with Func = Mpv::tellAsync(QByteArray&&, const Args& ...) [with Args = {detail::MpvString<(detail::MpvEnc)2u>, QByteArray}]::<lambda(auto:2*)>; Args = {QByteArray, QByteArray}]':
player/mpv.hpp:123:16: required from 'struct Mpv::command(QByteArray&&, Func&&, const Args& ...) [with Func = Mpv::tellAsync(QByteArray&&, const Args& ...) [with Args = {detail::MpvString<(detail::MpvEnc)2u>, QByteArray}]::<lambda(auto:2*)>; Args = {QByteArray, QByteArray}]::<lambda()>'
player/mpv.hpp:123:16: required from 'bool Mpv::command(QByteArray&&, Func&&, const Args& ...) [with Func = Mpv::tellAsync(QByteArray&&, const Args& ...) [with Args = {detail::MpvString<(detail::MpvEnc)2u>, QByteArray}]::<lambda(auto:2*)>; Args = {QByteArray, QByteArray}]'
player/mpv.hpp:193:21: required from 'bool Mpv::tellAsync(QByteArray&&, const Args& ...) [with Args = {detail::MpvString<(detail::MpvEnc)2u>, QByteArray}]'
player/mpv.hpp:198:65: required from 'bool Mpv::tellAsync(const char (&)[N], const Args& ...) [with int N = 10; Args = {detail::MpvString<(detail::MpvEnc)2u>, QByteArray}]'
player/playengine_p.hpp:147:83: required from here
player/mpv.hpp:18:92: error: redeclaration of 'const int& error'
(isSuccess(err) ? true : (_WriteLog(e2l(err), "Failed to " fmt ": %%", __VA_ARGS__, e2s(err)), false))
^
./misc/log.hpp:155:63: note: in definition of macro '_WriteLog'
{ return std::move(Log::parse(lv, getLogContext(), fmt, ##__VA_ARGS__)); })
^
player/mpv.hpp:123:16: note: in expansion of macro 'MPV_CHECK'
return MPV_CHECK(error, "execute %%", name);
^
player/mpv.hpp:18:44: note: 'const int& error' previously declared here
(isSuccess(err) ? true : (_WriteLog(e2l(err), "Failed to " fmt ": %%", __VA_ARGS__, e2s(err)), false))
^
./misc/log.hpp:155:35: note: in definition of macro '_WriteLog'
{ return std::move(Log::parse(lv, getLogContext(), fmt, ##__VA_ARGS__)); })
^
player/mpv.hpp:123:16: note: in expansion of macro 'MPV_CHECK'
return MPV_CHECK(error, "execute %%", name);
^
player/mpv.hpp: In instantiation of 'bool Mpv::command(QByteArray&&, Func&&, const Args& ...) [with Func = Mpv::tellAsync(QByteArray&&, const Args& ...) [with Args = {detail::MpvString<(detail::MpvEnc)2u>, QByteArray}]::<lambda(auto:2*)>; Args = {QByteArray, QByteArray}]':
player/mpv.hpp:193:21: required from 'bool Mpv::tellAsync(QByteArray&&, const Args& ...) [with Args = {detail::MpvString<(detail::MpvEnc)2u>, QByteArray}]'
player/mpv.hpp:198:65: required from 'bool Mpv::tellAsync(const char (&)[N], const Args& ...) [with int N = 10; Args = {detail::MpvString<(detail::MpvEnc)2u>, QByteArray}]'
player/playengine_p.hpp:147:83: required from here
./misc/log.hpp:154:48: sorry, unimplemented: non-trivial designated initializers not supported
#define _WriteLog(lv, fmt, ...) Log::write(lv, [&] () \
^
player/mpv.hpp:18:31: note: in expansion of macro '_WriteLog'
(isSuccess(err) ? true : (_WriteLog(e2l(err), "Failed to " fmt ": %%", __VA_ARGS__, e2s(err)), false))
^
player/mpv.hpp:123:16: note: in expansion of macro 'MPV_CHECK'
return MPV_CHECK(error, "execute %%", name);
^
player/mpv.hpp: In instantiation of 'Mpv::command(QByteArray&&, Func&&, const Args& ...)::<lambda()> [with Func = Mpv::tell(QByteArray&&, const Args& ...) [with Args = {}]::<lambda(auto:1*)>; Args = {}]':
player/mpv.hpp:123:16: required from 'struct Mpv::command(QByteArray&&, Func&&, const Args& ...) [with Func = Mpv::tell(QByteArray&&, const Args& ...) [with Args = {}]::<lambda(auto:1*)>; Args = {}]::<lambda()>'
player/mpv.hpp:123:16: required from 'bool Mpv::command(QByteArray&&, Func&&, const Args& ...) [with Func = Mpv::tell(QByteArray&&, const Args& ...) [with Args = {}]::<lambda(auto:1*)>; Args = {}]'
player/mpv.hpp:180:21: required from 'bool Mpv::tell(QByteArray&&, const Args& ...) [with Args = {}]'
player/mpv.hpp:185:60: required from 'bool Mpv::tell(const char (&)[N], const Args& ...) [with int N = 16; Args = {}]'
player/playengine_p.hpp:171:84: required from here
player/mpv.hpp:18:92: error: redeclaration of 'const int& error'
(isSuccess(err) ? true : (_WriteLog(e2l(err), "Failed to " fmt ": %%", __VA_ARGS__, e2s(err)), false))
^
./misc/log.hpp:155:63: note: in definition of macro '_WriteLog'
{ return std::move(Log::parse(lv, getLogContext(), fmt, ##__VA_ARGS__)); })
^
player/mpv.hpp:123:16: note: in expansion of macro 'MPV_CHECK'
return MPV_CHECK(error, "execute %%", name);
^
player/mpv.hpp:18:44: note: 'const int& error' previously declared here
(isSuccess(err) ? true : (_WriteLog(e2l(err), "Failed to " fmt ": %%", __VA_ARGS__, e2s(err)), false))
^
./misc/log.hpp:155:35: note: in definition of macro '_WriteLog'
{ return std::move(Log::parse(lv, getLogContext(), fmt, ##__VA_ARGS__)); })
^
player/mpv.hpp:123:16: note: in expansion of macro 'MPV_CHECK'
return MPV_CHECK(error, "execute %%", name);
^
player/mpv.hpp: In instantiation of 'bool Mpv::command(QByteArray&&, Func&&, const Args& ...) [with Func = Mpv::tell(QByteArray&&, const Args& ...) [with Args = {}]::<lambda(auto:1*)>; Args = {}]':
player/mpv.hpp:180:21: required from 'bool Mpv::tell(QByteArray&&, const Args& ...) [with Args = {}]'
player/mpv.hpp:185:60: required from 'bool Mpv::tell(const char (&)[N], const Args& ...) [with int N = 16; Args = {}]'
player/playengine_p.hpp:171:84: required from here
./misc/log.hpp:154:48: sorry, unimplemented: non-trivial designated initializers not supported
#define _WriteLog(lv, fmt, ...) Log::write(lv, [&] () \
^
player/mpv.hpp:18:31: note: in expansion of macro '_WriteLog'
(isSuccess(err) ? true : (_WriteLog(e2l(err), "Failed to " fmt ": %%", __VA_ARGS__, e2s(err)), false))
^
player/mpv.hpp:123:16: note: in expansion of macro 'MPV_CHECK'
return MPV_CHECK(error, "execute %%", name);
^
player/mpv.hpp: In instantiation of 'Mpv::command(QByteArray&&, Func&&, const Args& ...)::<lambda()> [with Func = Mpv::tellAsync(QByteArray&&, const Args& ...) [with Args = {int, int}]::<lambda(auto:2*)>; Args = {int, int}]':
player/mpv.hpp:123:16: required from 'struct Mpv::command(QByteArray&&, Func&&, const Args& ...) [with Func = Mpv::tellAsync(QByteArray&&, const Args& ...) [with Args = {int, int}]::<lambda(auto:2*)>; Args = {int, int}]::<lambda()>'
player/mpv.hpp:123:16: required from 'bool Mpv::command(QByteArray&&, Func&&, const Args& ...) [with Func = Mpv::tellAsync(QByteArray&&, const Args& ...) [with Args = {int, int}]::<lambda(auto:2*)>; Args = {int, int}]'
player/mpv.hpp:193:21: required from 'bool Mpv::tellAsync(QByteArray&&, const Args& ...) [with Args = {int, int}]'
player/mpv.hpp:198:65: required from 'bool Mpv::tellAsync(const char (&)[N], const Args& ...) [with int N = 6; Args = {int, int}]'
player/playengine_p.hpp:181:52: required from here
player/mpv.hpp:18:92: error: redeclaration of 'const int& error'
(isSuccess(err) ? true : (_WriteLog(e2l(err), "Failed to " fmt ": %%", __VA_ARGS__, e2s(err)), false))
^
./misc/log.hpp:155:63: note: in definition of macro '_WriteLog'
{ return std::move(Log::parse(lv, getLogContext(), fmt, ##__VA_ARGS__)); })
^
player/mpv.hpp:123:16: note: in expansion of macro 'MPV_CHECK'
return MPV_CHECK(error, "execute %%", name);
^
player/mpv.hpp:18:44: note: 'const int& error' previously declared here
(isSuccess(err) ? true : (_WriteLog(e2l(err), "Failed to " fmt ": %%", __VA_ARGS__, e2s(err)), false))
^
./misc/log.hpp:155:35: note: in definition of macro '_WriteLog'
{ return std::move(Log::parse(lv, getLogContext(), fmt, ##__VA_ARGS__)); })
^
player/mpv.hpp:123:16: note: in expansion of macro 'MPV_CHECK'
return MPV_CHECK(error, "execute %%", name);
^
player/mpv.hpp: In instantiation of 'bool Mpv::command(QByteArray&&, Func&&, const Args& ...) [with Func = Mpv::tellAsync(QByteArray&&, const Args& ...) [with Args = {int, int}]::<lambda(auto:2*)>; Args = {int, int}]':
player/mpv.hpp:193:21: required from 'bool Mpv::tellAsync(QByteArray&&, const Args& ...) [with Args = {int, int}]'
player/mpv.hpp:198:65: required from 'bool Mpv::tellAsync(const char (&)[N], const Args& ...) [with int N = 6; Args = {int, int}]'
player/playengine_p.hpp:181:52: required from here
./misc/log.hpp:154:48: sorry, unimplemented: non-trivial designated initializers not supported
#define _WriteLog(lv, fmt, ...) Log::write(lv, [&] () \
^
player/mpv.hpp:18:31: note: in expansion of macro '_WriteLog'
(isSuccess(err) ? true : (_WriteLog(e2l(err), "Failed to " fmt ": %%", __VA_ARGS__, e2s(err)), false))
^
player/mpv.hpp:123:16: note: in expansion of macro 'MPV_CHECK'
return MPV_CHECK(error, "execute %%", name);
^
player/mpv.hpp: In instantiation of 'Mpv::command(QByteArray&&, Func&&, const Args& ...)::<lambda()> [with Func = Mpv::tell(QByteArray&&, const Args& ...) [with Args = {double, int}]::<lambda(auto:1*)>; Args = {double, int}]':
player/mpv.hpp:123:16: required from 'struct Mpv::command(QByteArray&&, Func&&, const Args& ...) [with Func = Mpv::tell(QByteArray&&, const Args& ...) [with Args = {double, int}]::<lambda(auto:1*)>; Args = {double, int}]::<lambda()>'
player/mpv.hpp:123:16: required from 'bool Mpv::command(QByteArray&&, Func&&, const Args& ...) [with Func = Mpv::tell(QByteArray&&, const Args& ...) [with Args = {double, int}]::<lambda(auto:1*)>; Args = {double, int}]'
player/mpv.hpp:180:21: required from 'bool Mpv::tell(QByteArray&&, const Args& ...) [with Args = {double, int}]'
player/mpv.hpp:185:60: required from 'bool Mpv::tell(const char (&)[N], const Args& ...) [with int N = 5; Args = {double, int}]'
player/playengine.cpp:486:50: required from here
player/mpv.hpp:18:92: error: redeclaration of 'const int& error'
(isSuccess(err) ? true : (_WriteLog(e2l(err), "Failed to " fmt ": %%", __VA_ARGS__, e2s(err)), false))
^
./misc/log.hpp:155:63: note: in definition of macro '_WriteLog'
{ return std::move(Log::parse(lv, getLogContext(), fmt, ##__VA_ARGS__)); })
^
player/mpv.hpp:123:16: note: in expansion of macro 'MPV_CHECK'
return MPV_CHECK(error, "execute %%", name);
^
player/mpv.hpp:18:44: note: 'const int& error' previously declared here
(isSuccess(err) ? true : (_WriteLog(e2l(err), "Failed to " fmt ": %%", __VA_ARGS__, e2s(err)), false))
^
./misc/log.hpp:155:35: note: in definition of macro '_WriteLog'
{ return std::move(Log::parse(lv, getLogContext(), fmt, ##__VA_ARGS__)); })
^
player/mpv.hpp:123:16: note: in expansion of macro 'MPV_CHECK'
return MPV_CHECK(error, "execute %%", name);
^
player/mpv.hpp: In instantiation of 'bool Mpv::command(QByteArray&&, Func&&, const Args& ...) [with Func = Mpv::tell(QByteArray&&, const Args& ...) [with Args = {double, int}]::<lambda(auto:1*)>; Args = {double, int}]':
player/mpv.hpp:180:21: required from 'bool Mpv::tell(QByteArray&&, const Args& ...) [with Args = {double, int}]'
player/mpv.hpp:185:60: required from 'bool Mpv::tell(const char (&)[N], const Args& ...) [with int N = 5; Args = {double, int}]'
player/playengine.cpp:486:50: required from here
./misc/log.hpp:154:48: sorry, unimplemented: non-trivial designated initializers not supported
#define _WriteLog(lv, fmt, ...) Log::write(lv, [&] () \
^
player/mpv.hpp:18:31: note: in expansion of macro '_WriteLog'
(isSuccess(err) ? true : (_WriteLog(e2l(err), "Failed to " fmt ": %%", __VA_ARGS__, e2s(err)), false))
^
player/mpv.hpp:123:16: note: in expansion of macro 'MPV_CHECK'
return MPV_CHECK(error, "execute %%", name);
^
player/mpv.hpp: In instantiation of 'Mpv::command(QByteArray&&, Func&&, const Args& ...)::<lambda()> [with Func = Mpv::tellAsync(QByteArray&&, const Args& ...) [with Args = {QByteArray}]::<lambda(auto:2*)>; Args = {QByteArray}]':
player/mpv.hpp:123:16: required from 'struct Mpv::command(QByteArray&&, Func&&, const Args& ...) [with Func = Mpv::tellAsync(QByteArray&&, const Args& ...) [with Args = {QByteArray}]::<lambda(auto:2*)>; Args = {QByteArray}]::<lambda()>'
player/mpv.hpp:123:16: required from 'bool Mpv::command(QByteArray&&, Func&&, const Args& ...) [with Func = Mpv::tellAsync(QByteArray&&, const Args& ...) [with Args = {QByteArray}]::<lambda(auto:2*)>; Args = {QByteArray}]'
player/mpv.hpp:193:21: required from 'bool Mpv::tellAsync(QByteArray&&, const Args& ...) [with Args = {QByteArray}]'
player/mpv.hpp:198:65: required from 'bool Mpv::tellAsync(const char (&)[N], const Args& ...) [with int N = 8; Args = {QByteArray}]'
player/playengine.cpp:647:45: required from here
player/mpv.hpp:18:92: error: redeclaration of 'const int& error'
(isSuccess(err) ? true : (_WriteLog(e2l(err), "Failed to " fmt ": %%", __VA_ARGS__, e2s(err)), false))
^
./misc/log.hpp:155:63: note: in definition of macro '_WriteLog'
{ return std::move(Log::parse(lv, getLogContext(), fmt, ##__VA_ARGS__)); })
^
player/mpv.hpp:123:16: note: in expansion of macro 'MPV_CHECK'
return MPV_CHECK(error, "execute %%", name);
^
player/mpv.hpp:18:44: note: 'const int& error' previously declared here
(isSuccess(err) ? true : (_WriteLog(e2l(err), "Failed to " fmt ": %%", __VA_ARGS__, e2s(err)), false))
^
./misc/log.hpp:155:35: note: in definition of macro '_WriteLog'
{ return std::move(Log::parse(lv, getLogContext(), fmt, ##__VA_ARGS__)); })
^
player/mpv.hpp:123:16: note: in expansion of macro 'MPV_CHECK'
return MPV_CHECK(error, "execute %%", name);
^
player/mpv.hpp: In instantiation of 'bool Mpv::command(QByteArray&&, Func&&, const Args& ...) [with Func = Mpv::tellAsync(QByteArray&&, const Args& ...) [with Args = {QByteArray}]::<lambda(auto:2*)>; Args = {QByteArray}]':
player/mpv.hpp:193:21: required from 'bool Mpv::tellAsync(QByteArray&&, const Args& ...) [with Args = {QByteArray}]'
player/mpv.hpp:198:65: required from 'bool Mpv::tellAsync(const char (&)[N], const Args& ...) [with int N = 8; Args = {QByteArray}]'
player/playengine.cpp:647:45: required from here
./misc/log.hpp:154:48: sorry, unimplemented: non-trivial designated initializers not supported
#define _WriteLog(lv, fmt, ...) Log::write(lv, [&] () \
^
player/mpv.hpp:18:31: note: in expansion of macro '_WriteLog'
(isSuccess(err) ? true : (_WriteLog(e2l(err), "Failed to " fmt ": %%", __VA_ARGS__, e2s(err)), false))
^
player/mpv.hpp:123:16: note: in expansion of macro 'MPV_CHECK'
return MPV_CHECK(error, "execute %%", name);
^
player/mpv.hpp: In instantiation of 'Mpv::command(QByteArray&&, Func&&, const Args& ...)::<lambda()> [with Func = Mpv::tell(QByteArray&&, const Args& ...) [with Args = {int}]::<lambda(auto:1*)>; Args = {int}]':
player/mpv.hpp:123:16: required from 'struct Mpv::command(QByteArray&&, Func&&, const Args& ...) [with Func = Mpv::tell(QByteArray&&, const Args& ...) [with Args = {int}]::<lambda(auto:1*)>; Args = {int}]::<lambda()>'
player/mpv.hpp:123:16: required from 'bool Mpv::command(QByteArray&&, Func&&, const Args& ...) [with Func = Mpv::tell(QByteArray&&, const Args& ...) [with Args = {int}]::<lambda(auto:1*)>; Args = {int}]'
player/mpv.hpp:180:21: required from 'bool Mpv::tell(QByteArray&&, const Args& ...) [with Args = {int}]'
player/mpv.hpp:185:60: required from 'bool Mpv::tell(const char (&)[N], const Args& ...) [with int N = 5; Args = {int}]'
player/playengine.cpp:685:26: required from here
player/mpv.hpp:18:92: error: redeclaration of 'const int& error'
(isSuccess(err) ? true : (_WriteLog(e2l(err), "Failed to " fmt ": %%", __VA_ARGS__, e2s(err)), false))
^
./misc/log.hpp:155:63: note: in definition of macro '_WriteLog'
{ return std::move(Log::parse(lv, getLogContext(), fmt, ##__VA_ARGS__)); })
^
player/mpv.hpp:123:16: note: in expansion of macro 'MPV_CHECK'
return MPV_CHECK(error, "execute %%", name);
^
player/mpv.hpp:18:44: note: 'const int& error' previously declared here
(isSuccess(err) ? true : (_WriteLog(e2l(err), "Failed to " fmt ": %%", __VA_ARGS__, e2s(err)), false))
^
./misc/log.hpp:155:35: note: in definition of macro '_WriteLog'
{ return std::move(Log::parse(lv, getLogContext(), fmt, ##__VA_ARGS__)); })
^
player/mpv.hpp:123:16: note: in expansion of macro 'MPV_CHECK'
return MPV_CHECK(error, "execute %%", name);
^
player/mpv.hpp: In instantiation of 'bool Mpv::command(QByteArray&&, Func&&, const Args& ...) [with Func = Mpv::tell(QByteArray&&, const Args& ...) [with Args = {int}]::<lambda(auto:1*)>; Args = {int}]':
player/mpv.hpp:180:21: required from 'bool Mpv::tell(QByteArray&&, const Args& ...) [with Args = {int}]'
player/mpv.hpp:185:60: required from 'bool Mpv::tell(const char (&)[N], const Args& ...) [with int N = 5; Args = {int}]'
player/playengine.cpp:685:26: required from here
./misc/log.hpp:154:48: sorry, unimplemented: non-trivial designated initializers not supported
#define _WriteLog(lv, fmt, ...) Log::write(lv, [&] () \
^
player/mpv.hpp:18:31: note: in expansion of macro '_WriteLog'
(isSuccess(err) ? true : (_WriteLog(e2l(err), "Failed to " fmt ": %%", __VA_ARGS__, e2s(err)), false))
^
player/mpv.hpp:123:16: note: in expansion of macro 'MPV_CHECK'
return MPV_CHECK(error, "execute %%", name);
^
player/mpv.hpp: In instantiation of 'Mpv::command(QByteArray&&, Func&&, const Args& ...)::<lambda()> [with Func = Mpv::tellAsync(QByteArray&&, const Args& ...) [with Args = {QByteArray, QByteArray}]::<lambda(auto:2*)>; Args = {QByteArray, QByteArray}]':
player/mpv.hpp:123:16: required from 'struct Mpv::command(QByteArray&&, Func&&, const Args& ...) [with Func = Mpv::tellAsync(QByteArray&&, const Args& ...) [with Args = {QByteArray, QByteArray}]::<lambda(auto:2*)>; Args = {QByteArray, QByteArray}]::<lambda()>'
player/mpv.hpp:123:16: required from 'bool Mpv::command(QByteArray&&, Func&&, const Args& ...) [with Func = Mpv::tellAsync(QByteArray&&, const Args& ...) [with Args = {QByteArray, QByteArray}]::<lambda(auto:2*)>; Args = {QByteArray, QByteArray}]'
player/mpv.hpp:193:21: required from 'bool Mpv::tellAsync(QByteArray&&, const Args& ...) [with Args = {QByteArray, QByteArray}]'
player/mpv.hpp:198:65: required from 'bool Mpv::tellAsync(const char (&)[N], const Args& ...) [with int N = 3; Args = {QByteArray, QByteArray}]'
player/playengine.cpp:782:58: required from here
player/mpv.hpp:18:92: error: redeclaration of 'const int& error'
(isSuccess(err) ? true : (_WriteLog(e2l(err), "Failed to " fmt ": %%", __VA_ARGS__, e2s(err)), false))
^
./misc/log.hpp:155:63: note: in definition of macro '_WriteLog'
{ return std::move(Log::parse(lv, getLogContext(), fmt, ##__VA_ARGS__)); })
^
player/mpv.hpp:123:16: note: in expansion of macro 'MPV_CHECK'
return MPV_CHECK(error, "execute %%", name);
^
player/mpv.hpp:18:44: note: 'const int& error' previously declared here
(isSuccess(err) ? true : (_WriteLog(e2l(err), "Failed to " fmt ": %%", __VA_ARGS__, e2s(err)), false))
^
./misc/log.hpp:155:35: note: in definition of macro '_WriteLog'
{ return std::move(Log::parse(lv, getLogContext(), fmt, ##__VA_ARGS__)); })
^
player/mpv.hpp:123:16: note: in expansion of macro 'MPV_CHECK'
return MPV_CHECK(error, "execute %%", name);
^
player/mpv.hpp: In instantiation of 'bool Mpv::command(QByteArray&&, Func&&, const Args& ...) [with Func = Mpv::tellAsync(QByteArray&&, const Args& ...) [with Args = {QByteArray, QByteArray}]::<lambda(auto:2*)>; Args = {QByteArray, QByteArray}]':
player/mpv.hpp:193:21: required from 'bool Mpv::tellAsync(QByteArray&&, const Args& ...) [with Args = {QByteArray, QByteArray}]'
player/mpv.hpp:198:65: required from 'bool Mpv::tellAsync(const char (&)[N], const Args& ...) [with int N = 3; Args = {QByteArray, QByteArray}]'
player/playengine.cpp:782:58: required from here
./misc/log.hpp:154:48: sorry, unimplemented: non-trivial designated initializers not supported
#define _WriteLog(lv, fmt, ...) Log::write(lv, [&] () \
^
player/mpv.hpp:18:31: note: in expansion of macro '_WriteLog'
(isSuccess(err) ? true : (_WriteLog(e2l(err), "Failed to " fmt ": %%", __VA_ARGS__, e2s(err)), false))
^
player/mpv.hpp:123:16: note: in expansion of macro 'MPV_CHECK'
return MPV_CHECK(error, "execute %%", name);
^
player/mpv.hpp: In instantiation of 'Mpv::command(QByteArray&&, Func&&, const Args& ...)::<lambda()> [with Func = Mpv::tellAsync(QByteArray&&, const Args& ...) [with Args = {int}]::<lambda(auto:2*)>; Args = {int}]':
player/mpv.hpp:123:16: required from 'struct Mpv::command(QByteArray&&, Func&&, const Args& ...) [with Func = Mpv::tellAsync(QByteArray&&, const Args& ...) [with Args = {int}]::<lambda(auto:2*)>; Args = {int}]::<lambda()>'
player/mpv.hpp:123:16: required from 'bool Mpv::command(QByteArray&&, Func&&, const Args& ...) [with Func = Mpv::tellAsync(QByteArray&&, const Args& ...) [with Args = {int}]::<lambda(auto:2*)>; Args = {int}]'
player/mpv.hpp:193:21: required from 'bool Mpv::tellAsync(QByteArray&&, const Args& ...) [with Args = {int}]'
player/mpv.hpp:198:65: required from 'bool Mpv::tellAsync(const char (&)[N], const Args& ...) [with int N = 13; Args = {int}]'
player/playengine.cpp:1162:56: required from here
player/mpv.hpp:18:92: error: redeclaration of 'const int& error'
(isSuccess(err) ? true : (_WriteLog(e2l(err), "Failed to " fmt ": %%", __VA_ARGS__, e2s(err)), false))
^
./misc/log.hpp:155:63: note: in definition of macro '_WriteLog'
{ return std::move(Log::parse(lv, getLogContext(), fmt, ##__VA_ARGS__)); })
^
player/mpv.hpp:123:16: note: in expansion of macro 'MPV_CHECK'
return MPV_CHECK(error, "execute %%", name);
^
player/mpv.hpp:18:44: note: 'const int& error' previously declared here
(isSuccess(err) ? true : (_WriteLog(e2l(err), "Failed to " fmt ": %%", __VA_ARGS__, e2s(err)), false))
^
./misc/log.hpp:155:35: note: in definition of macro '_WriteLog'
{ return std::move(Log::parse(lv, getLogContext(), fmt, ##__VA_ARGS__)); })
^
player/mpv.hpp:123:16: note: in expansion of macro 'MPV_CHECK'
return MPV_CHECK(error, "execute %%", name);
^
player/mpv.hpp: In instantiation of 'bool Mpv::command(QByteArray&&, Func&&, const Args& ...) [with Func = Mpv::tellAsync(QByteArray&&, const Args& ...) [with Args = {int}]::<lambda(auto:2*)>; Args = {int}]':
player/mpv.hpp:193:21: required from 'bool Mpv::tellAsync(QByteArray&&, const Args& ...) [with Args = {int}]'
player/mpv.hpp:198:65: required from 'bool Mpv::tellAsync(const char (&)[N], const Args& ...) [with int N = 13; Args = {int}]'
player/playengine.cpp:1162:56: required from here
./misc/log.hpp:154:48: sorry, unimplemented: non-trivial designated initializers not supported
#define _WriteLog(lv, fmt, ...) Log::write(lv, [&] () \
^
player/mpv.hpp:18:31: note: in expansion of macro '_WriteLog'
(isSuccess(err) ? true : (_WriteLog(e2l(err), "Failed to " fmt ": %%", __VA_ARGS__, e2s(err)), false))
^
player/mpv.hpp:123:16: note: in expansion of macro 'MPV_CHECK'
return MPV_CHECK(error, "execute %%", name);
^
Makefile.Release:4196: recipe for target 'release/player/playengine.o' failed
make[2]: *** [release/player/playengine.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/home/melf-san/data/software/bomi/src/bomi'
Makefile:38: recipe for target 'release' failed
make[1]: *** [release] Error 2
make[1]: Leaving directory '/home/melf-san/data/software/bomi/src/bomi'
Makefile:40: recipe for target 'build/build/bomi/bomi' failed
make: *** [build/build/bomi/bomi] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment