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.
Message: 2Date: Fri, 29 Apr 2022 09:51:48 +0200From: Roman Haefeli <reduzent@gmail.com>To: pd-dev@lists.iem.atSubject: [PD-dev] error missing in Pd 0.52Message-ID: <96224f3ab47171eff50b17d1507974c6d8b13fd5.camel@gmail.com>Content-Type: text/plain; charset="utf-8"Hey allSince 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 introducingbreaking changes in Pd is generally not done lightly. And I foundsimilar issues in active developments like aoo, so I'm probably not theonly one having missed this.Roman