------- Comment #2 from pinskia at gcc dot gnu dot org 2007-07-09 02:53 ------- > # gcc-4.3 -c -o test_1.o test_1.cpp > test_1.cpp: In function 'bool RELOCATEDcmp(const char*)': > test_1.cpp:9: error: 'strncmp' was not declared in this scope
No include for <string.h> or <cstring>. > # gcc-4.3 -c -o test_2.o test_2.cpp > test_2.cpp: In function 'void Ctor(const char*)': > test_2.cpp:10: error: 'strlen' was not declared in this scope Likewise. All of these look like missing includes in the source and nothing wrong with GCC 4.3.0. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Component|c++ |libstdc++ http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32683