Hi all,

I'm happy to say that I managed to compile Midnight Commander version 4.6.0-pre1 on OS-X version 10.2, aka Jaguar. I needed to make two minor changes to the code, namely:

file src/regex.c, line 302:

The line contains the following:

typedef unsigned long int uintptr_t;

I got an error that uintptr_t has already been defined.
For the time being commented out this line.

file vfs/vfs.c: line 458

Got an error on line 460 along the lines of: 'Error 4 parameters given when 5 expected'.

Resolved this by adding a semicolon as last parameter in line 458:

MC_OP (name, inarg, callarg, if (handle == -1) return -1; vfs = vfs_op (handle);, ;)

After these changes mc compiled fine and works acceptably (except for mouse usage, which I couldn't be bothered with).

I would be grateful if these two problems were resolved in the code. I'm not sure how to do this in an clean manner, perhaps you folks know the right way?

Kind regards,

Wim Rijnders

Reply via email to