Re: Re: [MLton-commit] r7381

Christof Leng <[email protected]>
Newsgroups gmane.comp.lang.ml.mlton.devel
Organization TU Darmstadt
Message-ID <[email protected]>
On 12.12.2009 14:10, Wesley W. Terpstra wrote:
> My colleague reported this error message:/usr/include/ucontext.h:42:2: 
> error: #error ucontext routines are deprecated, and require 
> _XOPEN_SOURCE to be defined" ... then he added the #define and it worked.

I'm Wesley's colleague who did this change to compile. I don't have 
remote access to the machine right now, but I'll check on Monday what 
the comment in ucontext.h said. I don't know if it's better to define 
_XOPEN_SOURCE or switch to sys/ucontext.h. Both approaches seem to work 
with Snow Leopard.

> I don't have a Snow Leopard system, but he got told me that he got 
> this error on the newest svn/HEAD. I'll get him to double-check on 
> Monday and send the real regression log.

I attached the output of make check for the real and world5 tests.

_______________________________________________
MLton mailing list
[email protected]
http://mlton.org/mailman/listinfo/mlton
regression.txt (text/plain, 638 B)
testing real
666c666
< 11.59195518
---
> > 11.59195423
669c669
< 0.9962721467
---
> > 0.9962720871
678c678
< 7.544136047
---
> > 7.544136524
713c713
< 0.001230000518
---
> > 0.001230000402
817c817
< 11.59195518
---
> > 11.59195423
821c821
< ~0.9962721467
---
> > ~0.9962720871
830c830
< ~7.544136047
---
> > ~7.544136524
866c866
< ~0.001230000518
---
> > ~0.001230000402
difference with -type-check true

testing world5
1,2c1,4
< success
< success
---
> > fread (0xbffff5ec, 1, 1, _) failed (only read 0; eof).
> >  (Unknown error: 0)
> > unhandled exception: Fail: child failed
> > Nonzero exit status.
difference with -type-check true
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.