you're right, but with some #ifdefs, at least the source can be compatible with both versions. building from source will then always work. regarding binaries and deken packages, you would have to do it twice, though. Maybe just give a little hint in the name? (>= Pd.047 resp. < Pd 0.47). Anyway, if you need testing on Windows (for both versions of Pd), count me in!
Gesendet: Donnerstag, 22. September 2016 um 08:37 Uhr Von: "Antoine Rousseau" antoine@metalu.net An: "Dan Wilcox" danomatika@gmail.com Cc: Pd-list pd-list@lists.iem.at Betreff: Re: [PD] Tcl error for [knob] and [mknob]
to simply check the version and call that iem color function I don't think so ; the interface of some functions has changed, so you need to be aware of the version at compilation time, and have to use this version at runtime. So I don't think you can build an external that would be compatible for both versions. 2016-09-22 0:22 GMT+02:00 Dan Wilcox danomatika@gmail.com:
On Sep 21, 2016, at 3:40 PM, pd-list-request@lists.iem.at[pd-list-request@lists.iem.at] wrote:
From: Antoine Rousseau <antoine@metalu.net[antoine@metalu.net]>
Thanks ! and thanks to Dan too, pointing me directly to the right direction !But I realize that if I fix mknob for latest Pd it will become incompatible with older ones…I believe the changes handle saving and loading based on the compatibility mode, so you should be able to simply check the version and call that iem color function in versions of pd less than 0.48.
Dan Wilcox @danomatika[https://twitter.com/danomatika] danomatika.com[http://danomatika.com] robotcowboy.com[http://robotcowboy.com]
--
Antoine Rousseau http://www.metalu.net%5Bhttp://metalu.net%5D%C2%A0__%C2%A0http://www.metalua...] _______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list%5Bhttps://lists.puredata.info/l...]