misc13.C: Put `strlen' in `std' namespace.
* g++.old-deja/g++.brendan/misc13.C: Put `strlen' in `std' namespace. From-SVN: r37260
This commit is contained in:
parent
247a2b0ab5
commit
bfd2cff7a6
|
@ -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.
|
||||
|
||||
|
|
|
@ -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.*
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue