site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=sM0XYUP0XJfBI5hOFA8CZjpCYjWRQ/igDeI2b+4yX54j+5O+CLB2hrxYaIDqGHuzHxAMnNJ486hpuluxgJ0r5eFeBCw/rC8fxfJtZo59n5LNVmlP6he2gG8poJPUlsoN7fk+4SXnYJfm1ctZ8QVAAqyL7NsWJknsimmjQcVoM6c= ; Has anyone built STLport 5 using gcc4? After setting native include paths in _site_config.h #define _STLP_NATIVE_INCLUDE_PATH ../include #define _STLP_NATIVE_CPP_C_INCLUDE_PATH ../include/c++/4.0.0 #define _STLP_NATIVE_C_INCLUDE_PATH _STLP_NATIVE_INCLUDE_PATH #define _STLP_NATIVE_CPP_RUNTIME_INCLUDE_PATH _STLP_NATIVE_CPP_C_INCLUDE_PATH I get strange errors compiling num_put_float.cpp, such as /usr/include/c++/4.0.0/bits/cpp_type_traits.h:81: error: template with C linkage and /usr/include/../include/c++/4.0.0/cmath: In function 'double std::abs(double)': /usr/include/../include/c++/4.0.0/cmath:88: error: declaration of C function 'double std::abs(double)' conflicts with /usr/include/../include/c++/4.0.0/cstdlib:130: error: previous declaration 'long int std::abs(longint)' here But the other sources compile without error. _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com