Re: [LAD] need some C++ help

From: Pedro Lopez-Cabanillas <pedro.lopez.cabanillas@email-addr-hidden>
Date: Sun Jul 27 2008 - 20:18:51 EEST

On Sat, Jul 26, 2008 Paul Coccoli wrote:
> On Sat, Jul 26, 2008 at 1:28 PM, Dave Phillips wrote:
> > dlphilp@email-addr-hidden:~/src/kodisein/linux> g++ --version
> > g++ (GCC) 4.1.2 20061115 (prerelease) (SUSE Linux)

> Are hash_map and hash declared in namespace std? I see a using
> declaration for std, but hash and hash_map are not standard.
>
> I guess you're using stlport though, and I'm not really familiar with it.

Recent GNU/libstdc++ declares hash_map a deprecated extension enclosed in the
namespace __gnu_cxx. Quick fix: add a line with "using namespace __gnu_cxx;".

More information:
http://gcc.gnu.org/onlinedocs/libstdc++/manual/backwards.html#id365186

Regards,
Pedro
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev
Received on Mon Jul 28 00:15:03 2008

This archive was generated by hypermail 2.1.8 : Mon Jul 28 2008 - 00:15:04 EEST