Message4419
In reference to the 'chmod' definition in
posixmodule.c (~line 155). Under Borland
C++5.5, 'mode_t' is defined in sys/types.h as a short,
and yet io.h defines 'chmod' as taking char* and an
int, so the compiler gives an error of, "Type mismatch
in redeclaration of 'chmod'" here.
Since sys/types.h is going to redefine mode_t after
anything we put into pyport/config, the only way I can
see to fix this would be to put an #ifdef __BORLANDC__
in there.
Now, to go fix all the other errors BC is spitting out
in that file. <le sigh> |
|
Date |
User |
Action |
Args |
2007-08-23 13:54:00 | admin | link | issue417802 messages |
2007-08-23 13:54:00 | admin | create | |
|