To avoid bleeding-edge red, is the following not possible with externals?
#ifdef PD_MAJOR_VERSION >= 0 and PD_MINOR_VERSION >= 54 // multichannel code #else // non-multichannel code #endif
Depending upon the code layout, you could also probably use some macros for lots of redundant stuff.
On Aug 4, 2023, at 8:18 AM, pd-list-request@lists.iem.at wrote:
Message: 3 Date: Fri, 4 Aug 2023 03:12:27 -0300 From: Alexandre Torres Porres <porres@gmail.com mailto:porres@gmail.com> To: Pd-List <pd-list@lists.iem.at mailto:pd-list@lists.iem.at> Subject: Re: [PD] Building ELSE for Pd Vanilla (here RPi OS 11 32-bit) Message-ID: <CAEAsFmj2J+BAF3djDfUDeyaFtUjPXcFkRFiZn6fpAob06Ha5Vw@mail.gmail.com mailto:CAEAsFmj2J+BAF3djDfUDeyaFtUjPXcFkRFiZn6fpAob06Ha5Vw@mail.gmail.com> Content-Type: text/plain; charset="utf-8"
Em qui., 3 de ago. de 2023 ?s 16:46, IOhannes m zm?lnig <zmoelnig@iem.at mailto:zmoelnig@iem.at> escreveu:
Personally I think this is a bug in ELSE, and would file a bug that it ought to be buildable against older versions of Pd (even if that means that some functionality is missing).
I'm creating new objects for multichannel fun and adding multichannel awareness to old objects, right now there are over 50 signal objects that are multichannel aware (and counting).
Without 0.54 you'll just have many errors trying to deal with CLASSMULTICHANNEL
So yup, 0.54 is needed. Sorry I'm always on the bleeding edge
Dan Wilcox @danomatika http://twitter.com/danomatika danomatika.com http://danomatika.com/ robotcowboy.com http://robotcowboy.com/