OSDN Git Service

* g++.old-deja/g++.brendan/misc13.C: Put `strlen' in `std'
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 4 Nov 2000 20:29:16 +0000 (20:29 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 4 Nov 2000 20:29:16 +0000 (20:29 +0000)
namespace.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37260 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/g++.old-deja/g++.brendan/misc13.C

index 81bc17a..1793aca 100644 (file)
@@ -1,5 +1,8 @@
 2000-11-04  Mark Mitchell  <mark@codesourcery.com>
 
+       * g++.old-deja/g++.brendan/misc13.C: Put `strlen' in `std'
+       namespace.
+
        * g++.old-deja/g++.law/weak.C: Fix uses of iostreams to be
        standards-conformant.
 
index 57292a2..c2c8bc5 100644 (file)
@@ -3,7 +3,9 @@
 // This should only give warnings from duplicate_decls; it should not get
 // errors from push_overloaded_decl as well.
 
+namespace std {
 extern "C"
 {
   long unsigned int strlen(char*);// ERROR -  warning// ERROR -  warning.*
 }
+}