On Thu, Feb 8, 2024 at 5:07 AM Cupertino Miranda <cupertino.miranda@xxxxxxxxxx> wrote: > > > Hi everyone, > > This is a patch to make CORE builtin macros work with builtin > implementation within GCC. > > Looking forward to your comments. > Can you please repost it as a proper patch email, not as an attachment? But generally speaking, is there any way to change/fix GCC to allow a much more straightforward way to capture type, similar to how Clang does it? I'm not a big fan of extern declarations and using per-file __COUNTER__. Externs are globally visible and we can potentially run into name conflicts because __COUNTER__ is not globally unique. And just in general, it seems like this shouldn't require such acrobatics. Jose, do you have any thoughts on this? > Regards, > Cupertino >