Where's std.h?
Joe Buck
jbuck@synopsys.com
Sat Nov 15 17:55:00 GMT 1997
Joe> No, std.h is not standard, it is a libg++'ism. (I was responsible for
Joe> putting that into Ptolemy years ago, but you probably want to replace
Joe> uses of std.h with the appropriate standard headers, such as <stdlib.h>
Joe> and <string.h>).
>
>
> Thanks. I just wish I could find something to test to determine what
> is the libstdc++ version so I could make the changes conditional.
> Any ideas?
In principle, you can make the changes unconditional. All std.h does
is include other headers; just include the ones you need instead. This
will not break the code when you use older g++ ports. As I said, it
should have been done that way originally.
More information about the Gcc
mailing list