Where is std.h ?

Joe Buck jbuck@synopsys.com
Wed Jul 8 09:58:00 GMT 1998


> I was trying to compile a c++ program on RedHat 5.1 and I discovered
> that there is no std.h in egcs-1.0.2.

No, std.h was a libg++ thing, and should have been dumped a long time ago,
since it just duplicates standard C headers.  It was originally around
because it goes back to the days when most people didn't have standard
ANSI C headers on their systems.

> I don't think it's in 1.0.3a either, has it been obsoleted ?

Yes, use <stdlib.h> and/or <string.h> .





More information about the Gcc mailing list