./ghc/rts/posix/GetTime.c +136

posix/GetTime.c: In function 'getProcessElapsedTime':
posix/GetTime.c:52:0:
warning: passing argument 2 of 'gettimeofday' from incompatible pointer type
posix/GetTime.c: In function 'getPageFaults':
posix/GetTime.c:136:0:
     error: 'struct rusage' has no member named 'ru_majflt'

On OSX the rusage structure is opaque if _POSIX_C_SOURCE is not defined. GetTime.c includes PosixSource.h, though. I don't think it should.

        Thanks, Joel

--
http://wagerlabs.com/





_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to