https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105128
--- Comment #1 from cqwrteur <unlvsur at live dot com> --- Created attachment 52736 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52736&action=edit Modified source_location header that works on both gcc and clang It looks like clang requires __impl to be defined before __builtin_source_location() call. Just change the location for where it should be defined and it works. Can we fix it?