[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gnutls-dev] Building GnuTLS 1.6.1 under Mac OS X (fwd)
From: |
Simon Josefsson |
Subject: |
Re: [gnutls-dev] Building GnuTLS 1.6.1 under Mac OS X (fwd) |
Date: |
Thu, 25 Jan 2007 10:43:17 +0100 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.92 (gnu/linux) |
Matthias Scheler <address@hidden> writes:
>> Hello,
>>
>> the C++ library included in "gnutls" 1.6.1 doesn't build under Mac OS X
>> because of a compiler bug. Apple's GCC apparently doesn't handle calling
>> pure virtual function in constructors and desctrutors properly, see here:
>>
>> http://porting.openoffice.org/mac/macosx_issues.html
>>
>> I've attached two patches taken from NetBSD's "pkgsrc" which inline
>> the copy constructor of the "credentials" class under Mac OS X. That
>> fixes the build problem for me under Mac OS 10.4.8 using the G++
>> compiler from Xcode tools 2.4.1.
Hi! While I really dislike adding #if's to work around compiler bugs
(people should fix their compilers), I'm not familiar enough with C++
or the GnuTLS C++ library to offer any better solution. I have
installed the patch, with a comment about removing it in a few years.
Thanks,
Simon