build STLport 5 under 10.4?
build STLport 5 under 10.4?
- Subject: build STLport 5 under 10.4?
- From: email@hidden
- Date: Tue, 22 Nov 2005 09:52:33 -0800 (PST)
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden