io.c:mzd_from_png does not fopen the file as binary.....

Issue #43 resolved
Former user created an issue

...Which does make the subsequent read of the png header fail on Windows.

solution : fopen mode as "rb", it won't hurt Linux, but it will fix Windows.

Comments (2)

  1. Martin Albrecht repo owner

    I fixed this in 037cc092b4ac. Thanks for the bug report. I was wondering though, does M4RI properly work on Windows? How's the peformance compared to POSIX systems? We have no one in our team who uses Windows in a non-trivial way, so if you could contribute any build system fixes etc. you have that'd be great. For example, do you do cache tuning on Windows?

  2. Former user Account Deleted

    As far as I can tell m4ri works as well on Windows as it does on Linux, however I am using Intels ICC instead of the VS compiler, and as far as performance is concerned I did not yet try any special optimizations.

  3. Log in to comment