You missed the discussion because it took place in libpd-land: https://github.com/libpd/libpd/issues/336 <https://github.com/libpd/libpd/issues/336>
It was not a decision taken lightly, but it's necessary as Pd's previous "error()" could conflict with libc "error()". The replacement already existed for sometime, so changing calls to "error(...)" with "pd_error(0, ...)" should be equivalent and not break the external in old versions of Pd. > On Apr 29, 2022, at 12:00 PM, [email protected] wrote: > > Message: 2 > Date: Fri, 29 Apr 2022 09:51:48 +0200 > From: Roman Haefeli <[email protected] <mailto:[email protected]>> > To: [email protected] <mailto:[email protected]> > Subject: [PD-dev] error missing in Pd 0.52 > Message-ID: <[email protected] > <mailto:[email protected]>> > Content-Type: text/plain; charset="utf-8" > > Hey all > > Since 0.52, compiling of some externals fails with an error like: > > ~~ > binfile.c:103:9: error: implicit declaration of function 'error' is invalid > in C99 [-Werror,-Wimplicit-function-declaration] > error("binfile: Could not create..."); > ~~~ > > In 0.51-4, the error function was still defined in m_pd.h. Was 'error' > deprecated in favor of pd_error? > > Sorry, if I missed the related discussions, but I feel introducing > breaking changes in Pd is generally not done lightly. And I found > similar issues in active developments like aoo, so I'm probably not the > only one having missed this. > > Roman -------- Dan Wilcox @danomatika <http://twitter.com/danomatika> danomatika.com <http://danomatika.com/> robotcowboy.com <http://robotcowboy.com/>
_______________________________________________ Pd-dev mailing list [email protected] https://lists.puredata.info/listinfo/pd-dev
