[MLton-user] Linking (?) 'print' means I can only run from the mingw command line

Matthew Fluet fluet at tti-c.org
Mon Sep 15 12:35:37 PDT 2008


On Mon, 15 Sep 2008, Wesley W. Terpstra wrote:
> On Mon, Sep 15, 2008 at 7:22 PM, Matthew Fluet <fluet at tti-c.org> wrote:
>> What happens to an 'fprintf(stderr,...);' or an 'fwrite(s,size,n,stderr);'
>> statement with -mwindows? An exception raised during the evaluation of the
>> Basis Library will be printed using functions from
>> <src>/runtime/basis/Stdio.c.  (See <src>/basis-library/primitive/prim2.sml.)
>
> They will all silently fail. The C code in my previous email will correct
> std*, however, so if it is called soon enough, stderr will work.

What C code?



More information about the MLton-user mailing list