2016-09-22 11:03 GMT+02:00 IOhannes m zmoelnig <zmoelnig@iem.at>:
On 2016-09-22 08:37, Antoine Rousseau wrote:
> 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.

why?

Because interfaces changed :

-void iemgui_save(t_iemgui *iemgui, t_symbol **srl, int *bflcol)
+void iemgui_save(t_iemgui *iemgui, t_symbol **srl, t_symbol**bflcol)

(from https://github.com/pure-data/pure-data/commit/6af3739b2284cfd53ad0ca8eeb2d3c450767e77b)

so how could I build a binary that would switch the interface of iemgui_save at runtime, following the version of the running Pd ?