Mail Archives: djgpp-workers/2001/02/12/15:24:58
Laurynas Biveinis wrote:
> > Could you please explain the practical meaning of this?
>
> I will, but note that this situation is temporary. I mentioned
> it only to show that things will change.
>
> > Does it mean
> > that non-standard functions will be available in the global namespace?
>
> Yes. In fact, everything is available in the global namespace, and
> standard functions are put in namespace std.
The c_std option doesn't put the standard functions (or anything else)
in namespace std if the user includes <*.h> instead of <c*>. It was
this sort of incorrect behaviour that I was trying to avoid.
If the ultimate aim is to use the c_shadow headers, then there is
not much point is using my namespace std patches (and the three so
far applied should be removed in order to allow the c_std headers to
be used as a stop-gap). It may be best to wait until libstdc++ V3
is released before attempting to modify the DJGPP headers to work
with c_shadow. In the meantime, someone needs to write the wide
character functions.
Stephen
- Raw text -