Michel Fortin wrote:
Ah, you're right indeed. I thought it was std.stdiobase that imported
std.stdio, but its the reverse so it's a little better.
Still, std.stdiobase uses this clever external definition to avoid a
circular import:
extern(C) void std_stdio_static_this();
This hack is basically just a bypass of the circular dependency check
for one module. If more than one module use it, you're at risk of having
the behaviour dependent on the link order.
No, the transitive nature of the dependency checking insures it is NOT
dependent on link order.