making conforming headers.

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Fri May 5 01:24:00 GMT 2000


> would this not do the trick:
> 
> #include <string.h>
> 
> namespace foo
> {
>     using std::strlen;
> }
> 
> int
> main ()
> {
> }

Yes, it would, at least if gcc uses -fhonor-std. With gcc 2.95, it
compiles fine, of course, as it should.

Regards,
Martin



More information about the Libstdc++ mailing list