[ardour-dev] recent sessions fix

Olivier Doaré nolv at free.fr
Mon Sep 19 11:33:37 PDT 2005


nick mainsbridge a écrit :

>this patch should remove older sessions from the recent sessions list,
>as opposed to alphabetically later ones as is the case currently.
Thank you for considering this problem!

I patched latest cvs, but when compiling, i get :

In file included from gtk_ardour/about.cc:45:
gtk_ardour/ardour_ui.h:462: error: `pair' has not been declared
gtk_ardour/ardour_ui.h:462: error: expected `,' or `...' before '<' token
gtk_ardour/ardour_ui.h:462: error: ISO C++ forbids declaration of 
`parameter' with no type
gtk_ardour/ardour_ui.h: In member function `bool 
ARDOUR_UI::RecentSessionsSorter::operator()(int) const':
gtk_ardour/ardour_ui.h:463: error: `a' undeclared (first use this function)
gtk_ardour/ardour_ui.h:463: error: (Each undeclared identifier is 
reported only once for each function it appears in.)
gtk_ardour/ardour_ui.h:463: error: `b' undeclared (first use this function)
scons: *** [gtk_ardour/about.o] Error 1
scons: building terminated because of errors.

I am using gcc-3.4.3 on a Mandriva 2005.

In case this can be my fault, here is what i did:

I patched using
$ patch -i recent_sessions.diff
and manually entering the filenames to patch, before recompiling.


More information about the Ardour-Dev mailing list