You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately, I can neither test the LASH code locally or in our build pipeline since LASH support was removed since a while in a Linux OSs I do use. Could you check whether #2077 fixes compilation?
But this bit rot is bad. We really need to remove all the LASH stuff too.
If you are interested in session management, I wound highly recommend to check out NSM via e.g. RaySession. Hydrogen should provide almost full support.
EDIT: there is an old discussion on replace LASH by ladish
Yes. We had one too (#1645). Turns out ladish is supporting NSM by now and I do not see any reason stick to LASH. But I never used it in production. Do you still see a reason to keep it?
Hydrogen version * : 1.2.4
Operating system + version : Gentoo Linux
Audio driver + version :
With LASH enabled, hydrogen 1.2.4 fails to build
`FAILED: src/cli/CMakeFiles/h2cli.dir/main.cpp.o
/usr/bin/x86_64-pc-linux-gnu-g++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_TESTCASE_BUILDDIR="/var/tmp/portage/media-sound/hydrogen-1.2.4/work/hydrogen-1.2.4_build" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XMLPATTERN
S_LIB -DQT_XML_LIB -I/var/tmp/portage/media-sound/hydrogen-1.2.4/work/hydrogen-1.2.4_build/src/cli -I/var/tmp/portage/media-sound/hydrogen-1.2.4/work/hydrogen-1.2.4/src/cli -I/var/tmp/portage/media-sound/hydrogen-1.2.4/work/hydrogen-1.2.
4_build/src/cli/h2cli_autogen/include -I/var/tmp/portage/media-sound/hydrogen-1.2.4/work/hydrogen-1.2.4/src -I/var/tmp/portage/media-sound/hydrogen-1.2.4/work/hydrogen-1.2.4_build/src -I/usr/include/lash-1.0 -I/usr/include/opus -isystem
/usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtXmlPatterns -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isy
stem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtWidgets -O2 -pipe -fomit-frame-pointer -march=broadwell -mmmx -mpopcnt -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -mavx2 -mfma -mbmi -mbmi2 -maes -mpclmul -madx -mabm -mcx
16 -mf16c -mfsgsbase -mfxsr -msahf -mlzcnt -mmovbe -mprfchw -mrdrnd -mrdseed -mxsave -mxsaveopt --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=3072 -mtune=broadwell -fno-implement-inlines -std=gnu++17 -fPIC
-MD -MT src/cli/CMakeFiles/h2cli.dir/main.cpp.o -MF src/cli/CMakeFiles/h2cli.dir/main.cpp.o.d -o src/cli/CMakeFiles/h2cli.dir/main.cpp.o -c /var/tmp/portage/media-sound/hydrogen-1.2.4/work/hydrogen-1.2.4/src/cli/main.cpp
/var/tmp/portage/media-sound/hydrogen-1.2.4/work/hydrogen-1.2.4/src/cli/main.cpp: In function ‘int main(int, char**)’:
/var/tmp/portage/media-sound/hydrogen-1.2.4/work/hydrogen-1.2.4/src/cli/main.cpp:342:49: error: passing ‘const QString’ as ‘this’ argument discards qualifiers [-fpermissive]
342 | sSongFilename = "";
| ^~
In file included from /usr/include/qt5/QtCore/qcoreapplication.h:44,
from /usr/include/qt5/QtCore/QCoreApplication:1,
from /var/tmp/portage/media-sound/hydrogen-1.2.4/work/hydrogen-1.2.4/src/cli/main.cpp:28:
/usr/include/qt5/QtCore/qstring.h:838:40: note: in call to ‘QString& QString::operator=(const char*)’
838 | inline QT_ASCII_CAST_WARN QString &operator=(const char ch)
| ^~~~~~~~
/var/tmp/portage/media-sound/hydrogen-1.2.4/work/hydrogen-1.2.4/src/cli/main.cpp:343:53: error: passing ‘const QString’ as ‘this’ argument discards qualifiers [-fpermissive]
343 | sSongFilename.append( QString::fromLocal8Bit(lash_event_get_string(lash_event)) );
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qstring.h:546:14: note: in call to ‘QString& QString::append(const QString&)’
546 | QString &append(const QString &s);
| ^~~~~~
/var/tmp/portage/media-sound/hydrogen-1.2.4/work/hydrogen-1.2.4/src/cli/main.cpp:344:53: error: passing ‘const QString’ as ‘this’ argument discards qualifiers [-fpermissive]
344 | sSongFilename.append("/hydrogen.h2song");
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qstring.h:850:40: note: in call to ‘QString& QString::append(const char)’
850 | inline QT_ASCII_CAST_WARN QString &append(const char *s)
| ^~~~~~
ninja: build stopped: subcommand failed.
`
Indeed, sSongFileName is defined as const QString and is then modified at line 342
Hydrogen 1.2.3 did not define sSongFileName as const...
The text was updated successfully, but these errors were encountered: