This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Compile errors


Well, the hash_fun.h header declares it in that namespace, which I
actually just told him to use.

std_ version does declare it in stl namespace but I don't know why it
doesn't find it.

corey


On Mon, 28 Mar 2005 16:14:47 -0600, Eljay Love-Jensen <eljay@adobe.com> wrote:
> Hi Parms,
> 
> I think hash is in __gnu_cxx namespace.
> 
> Try this instead:
> using __gnu_cxx::hash;
> 
> Also, I suggest you do not put using statements in your header files.  Bad mojo.
> 
> --Eljay
> 
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]