[Help-gnutls] Re: duplicate symbols complaint on Mac OS X 10.5.2

Simon Josefsson simon at josefsson.org
Wed Mar 19 16:38:39 CET 2008


Matthias Urlichs <smurf at smurf.noris.de> writes:

> Hi,
>
> Simon Josefsson:
>> I have some vague memory about reading that the semantics of 'inline'
>> has changed recently.
>
> s/recently/some years ago/. And probably s/semantics/optimization strategy/,
> which is somewhat more fluid (and therefore more likely to trigger bugs
> anywhere _but_ in your own environment :-P ).
>
> To summarize: If you want to force inlining, gcc requires the
> "always_inline" attribute.
>
> In general, s/inline/static &/ makes sense.

Thanks for clarifying.

For this problem, perhaps the problem is old gmp.h header that doesn't
use inline properly?  Anyway, I'm not sure it is a gnutls problem, we
don't use gmp.h and don't use the symbol in the error message.

/Simon





More information about the Gnutls-help mailing list