<div dir="ltr"><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
> extension [-Werror,-Wgcc-compat]<br>
> __rte_internal<br>
> ^<br>
<br>
Which clang version is this?<br></blockquote><div><br></div><div><div style="font-size:small" class="gmail_default">Clang 10, 11, 12 and 13.</div></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Perhaps the allow internal API could use a different attribute that<br>
could work in both cases?<br></blockquote><div><br></div><div><div>I've realised I've made a small error. It is not -Wall that includes this particular check, but -Wpendantic.  I'll update the commit message.  <br></div><div><br></div><div>However I can't find an attribute that is cross platform.  There is the #error directive, but it does not work as an attribute.<span class="gmail_default" style="font-size:small">  I've also tried adding `#if __clang__` around the macro as well, but the warning still gets triggered by clang.</span></div><div><span class="gmail_default" style="font-size:small"><br></span></div><div><span class="gmail_default" style="font-size:small">If there are any other options that I've missed, let me know and I can try them out.</span></div><div><span class="gmail_default" style="font-size:small"><br></span></div><div><span class="gmail_default" style="font-size:small">Mike.<br></span></div><div><span class="gmail_default" style="font-size:small"></span> <br></div></div></div></div>