This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ixokai
Recipients
Date 2001-04-21.05:49:54
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
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>
History
Date User Action Args
2007-08-23 13:54:00adminlinkissue417802 messages
2007-08-23 13:54:00admincreate