#1 nget won't compile with gcc 2.95

closed
None
5
2002-02-02
2002-02-01
Anonymous
No

I think the minium gcc version might have increased in
this version!

g++ -g -O2 -Wall -DHAVE_CONFIG_H -c -o nget.o
nget.cc
g++ -g -O2 -Wall -DHAVE_CONFIG_H -c -o sockstuff.o
sockstuff.cc
g++ -g -O2 -Wall -DHAVE_CONFIG_H -c -o cache.o
cache.cc
cache.cc: In method `void c_nntp_header::setfileid
(char *, unsigned int)':
cache.cc:67: no match for call to `(hash<char *>)
(char *&, unsigned int &)'
/usr/lib/gcc-lib/i386-
linux/2.95.4/../../../../include/g++-
3/stl_hash_fun.h:51: candidates are: size_t hash<char
*>::operator ()(const char *) const
make[1]: *** [cache.o] Error 1
make[1]: Leaving directory `/home/david/cvs/nget'
make: *** [install] Error 2
david@jefftoo:~/cvs/nget$ gcc --version
2.95.4

Discussion

  • Matthew Mueller

    Matthew Mueller - 2002-02-02

    Logged In: YES
    user_id=65253

    Nope, just a silly error. I didn't test with --without-zlib and just assumed that since all other STL funcs that take a string accept the two arg format so would the hash func..

    Fix commited. Thanks for the report!

     
  • Matthew Mueller

    Matthew Mueller - 2002-02-02
    • assigned_to: nobody --> donut
    • status: open --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks