[Help-gnutls] Re: duplicate symbols complaint on Mac OS X 10.5.2
Ludovic Courtès
ludo at gnu.org
Thu Apr 17 17:49:21 CEST 2008
Hi,
David Reiser <dbreiser at gmail.com> writes:
> I've been pointed to
> http://www.opensource.apple.com/darwinsource/iPhoneSDKBeta3/gcc-5479/gcc/c-cppbuiltin.c
> as evidence that Apple is about to fix the extern inline problem. To
> my untrained eye, it looks like the fix is to bring Apple's gcc to the
> point where it will understand the other patches.
> /* APPLE LOCAL begin mainline */
> if (flag_gnu89_inline)
> cpp_define (pfile, "__GNUC_GNU_INLINE__");
> else
> cpp_define (pfile, "__GNUC_STDC_INLINE__");
> /* APPLE LOCAL end mainline */
Sure, but until then, you have to have an `#ifdef' as in:
http://git.sv.gnu.org/gitweb/?p=guile.git;a=blob;f=libguile/inline.h;
And it may be the case that people will be reluctant to add yet another
Apple-specific workaround when they fix their compiler...
Thanks,
Ludovic.
More information about the Gnutls-help
mailing list