[haiku-development] Re: Locale Kit and hash_map

  • From: PulkoMandy <pulkomandy@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Tue, 24 Mar 2009 14:58:23 +0100

2009/3/24 Rene Gollent <anevilyak@xxxxxxxxx>:
> On Tue, Mar 24, 2009 at 7:53 AM, PulkoMandy <pulkomandy@xxxxxxxxx> wrote:
>>
>> This seems to work, but now i'm getting other errors in
>> headers/cpp/stl_alloc.h , headers/cpp/stl_vector.h and i think more
>> will come up as i continue trying to fix them.
>> I've seen this includes have been modified for Haiku, and imported
>> from SGI (hash_map is not standard C++ yet :)). It seems they were not
>> used for a long time and needs some update for building again.
>> So I'm not sure i should try to revive that, or find something else
>> that will work as well and build easily.
>
>
> Hm, I could swear I've used hash_map in Haiku before...bear in mind
> though that a) gcc4 actually enforces the namespaces properly which is
> something locale kit might not be taking into account since it was
> written on gcc2, and b) in gcc4's headers hash_map is part of the
> __gnu_cxx namespace along with the other STL extensions.
>
> Regards,
>
> Rene

Ah, that seems to work much better :)
I'm looking to solve the namespaces problems now :)
Thanks for the help.

-- 
Adrien Destugues
Elève ingénieur ENSSAT

Other related posts: