<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2014-12-18 19:56 GMT+06:00 Joerg Sonnenberger <span dir="ltr"><<a href="mailto:joerg@britannica.bec.de" target="_blank">joerg@britannica.bec.de</a>></span>:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On Thu, Dec 18, 2014 at 05:33:11PM +0600, Serge Pavlov wrote:<br>
> The solution still lacks support of an important case. As were noted, the<br>
> pattern:<br>
><br>
>     #define inline<br>
><br>
> is used in configuration scripts. It may convert inline function to global<br>
> functions, linker will report duplicate definitions in this case.<br>
<br>
</span>Given that most inline users in C use it in combination with static, I<br>
don't think it is that big a problem.<br><div><div><br></div></div></blockquote><div><br></div><div>I mentioned compilation of PHP extensions, where this problem was observed. A PHP extension may use some library, which provides its own config.h and must use PHP API, which comes with another config.h, these can clash. Any compilation, when different APIs are used, potentially may suffer from this problem. Also the components may use different languages, C and C++.</div></div></div></div>