Commit bfd2cff7 by Mark Mitchell Committed by Mark Mitchell

misc13.C: Put `strlen' in `std' namespace.

	* g++.old-deja/g++.brendan/misc13.C: Put `strlen' in `std'
	namespace.

From-SVN: r37260
parent 247a2b0a
2000-11-04 Mark Mitchell <mark@codesourcery.com> 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 * g++.old-deja/g++.law/weak.C: Fix uses of iostreams to be
standards-conformant. standards-conformant.
......
...@@ -3,7 +3,9 @@ ...@@ -3,7 +3,9 @@
// This should only give warnings from duplicate_decls; it should not get // This should only give warnings from duplicate_decls; it should not get
// errors from push_overloaded_decl as well. // errors from push_overloaded_decl as well.
namespace std {
extern "C" extern "C"
{ {
long unsigned int strlen(char*);// ERROR - warning// ERROR - warning.* long unsigned int strlen(char*);// ERROR - warning// ERROR - warning.*
} }
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment