You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee='https://github.com/tim-one'closed_at=<Date2001-04-30.22:18:47.000>created_at=<Date2001-04-21.05:49:54.000>labels= ['build']
title='mode_t not appropriate for chmod in BCC'updated_at=<Date2001-04-30.22:18:47.000>user='https://bugs.python.org/ixokai'
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>
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: