I have an annoying problem where writing to the output stream with writeln and other similar functions crash with an null dereference, but it appear to depend on the order the modules are compiled or linked. I wasn't able to reduce it to a

I've found a workaround. I can add this at the beginning of main():

        std_stdio_static_this();

which forces the initialization of the standard streams and everything goes well.

Basically, it looks like the std_

--
Michel Fortin
[email protected]
http://michelf.com/

Reply via email to