--00000000000034fb4e0566f65442 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable So if you don't want to go through the hassle of checking it out from Git, you could simply delete that one line in the source code, as indicated by Heiko's linked patch. Sorry for the trouble :) Mark On Fri, Mar 9, 2018 at 8:42 AM, Heiko Becker wrote: > Hello Micha=C5=82, > > On 03/08/18 12:57, Micha=C5=82 Zaj=C4=85c wrote: > > /root/amarok/amarok-2.9.0/src/playlist/proxymodels/SortAlgorithms.cpp: > > In member function =E2=80=98bool Playlist::multilevelLessThan::operator= ()(const > > QAbstractItemModel*, int, int) const=E2=80=99: > > /root/amarok/amarok-2.9.0/src/playlist/proxymodels/ > SortAlgorithms.cpp:98:21: > > error: expected primary-expression before =E2=80=98__attribute__=E2=80= =99 > > __attribute__ ((fallthrough)); > > ^ > > src/CMakeFiles/amaroklib.dir/build.make:2716: recipe for target > > 'src/CMakeFiles/amaroklib.dir/playlist/proxymodels/SortAlgorithms.cpp.o= ' > > failed > > make[2]: *** > > [src/CMakeFiles/amaroklib.dir/playlist/proxymodels/SortAlgorithms.cpp.o= ] > > Error 1 > > CMakeFiles/Makefile2:369: recipe for target > > 'src/CMakeFiles/amaroklib.dir/all' failed > > make[1]: *** [src/CMakeFiles/amaroklib.dir/all] Error 2 > > Makefile:138: recipe for target 'all' failed > > make: *** [all] Error 2> > > Am I the only one getting this? > > Unfortunately not, but it's already fixed in the 2.9 branch: > https://cgit.kde.org/amarok.git/commit/?h=3D2.9&id=3D > f047cd8219d9537bb33bba3883bedf6231a0ed5f > (Or you can switch to gcc7). > > Regards, > Heiko > --00000000000034fb4e0566f65442 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
So if you don't want to go through the hassle of check= ing it out from Git, you could simply delete that one line in the source co= de, as indicated by Heiko's linked patch.

Sorry for = the trouble :)

Mark


On Fri, Mar 9, 2018 at 8:42 AM, Heik= o Becker <heirecka@exherbo.org> wrote:
Hello Micha=C5=82,

On 03/08/18 12:57, Micha=C5=82 Zaj=C4=85c wrote:
> /root/amarok/amarok-2.9.0/src/playlist/proxymodels/SortAlgor= ithms.cpp:
> In member function =E2=80=98bool Playlist::multilevelLessThan::op= erator()(const
> QAbstractItemModel*, int, int) const=E2=80=99:
> /root/amarok/amarok-2.9.0/src/playlist/proxymodels/SortAlgor= ithms.cpp:98:21:
> error: expected primary-expression before =E2=80=98__attribute__=E2=80= =99
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0__attribute__ ((fallthrough));
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0^
> src/CMakeFiles/amaroklib.dir/build.make:2716: recipe for target > 'src/CMakeFiles/amaroklib.dir/playlist/proxymodels/SortA= lgorithms.cpp.o'
> failed
> make[2]: ***
> [src/CMakeFiles/amaroklib.dir/playlist/proxymodels/SortAlgor= ithms.cpp.o]
> Error 1
> CMakeFiles/Makefile2:369: recipe for target
> 'src/CMakeFiles/amaroklib.dir/all' failed
> make[1]: *** [src/CMakeFiles/amaroklib.dir/all] Error 2
> Makefile:138: recipe for target 'all' failed
> make: *** [all] Error 2>
> Am I the only one getting this?

Unfortunately not, but it's already fixed in the 2.9 branch:
htt= ps://cgit.kde.org/amarok.git/commit/?h=3D2.9&id=3Df047cd8219d= 9537bb33bba3883bedf6231a0ed5f
(Or you can switch to gcc7).

Regards,
Heiko

--00000000000034fb4e0566f65442--