• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
build STLport 5 under 10.4?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: build STLport 5 under 10.4?
      • From: Paul Thomas <email@hidden>
  • Prev by Date: yep
  • Next by Date: Re: build STLport 5 under 10.4?
  • Previous by thread: yep
  • Next by thread: Re: build STLport 5 under 10.4?
  • Index(es):
    • Date
    • Thread