Hi Manos, thank you for looking. On Tue, Jun 25, 2024 at 12:17 PM Manos Pitsidianakis <manos.pitsidiana...@linaro.org> wrote: > Should we add an #else to provide a fallback for cplusplus until the > alternative is merged? > > -#endif > +#else /* __cpluplus */ > +#define typeof_strip_qual typeof > +#endif /* __cplusplus */
You probably want decltype for C++ and, unfortunately, you need somewhat more than just decltype to make this drop-in. I am +1 with this patch (without '#error something'), we will define typeof_strip_qual for C++ on our side. Regards, Roman.