Message277362
| Author |
vmurashev |
| Recipients |
vmurashev |
| Date |
2016年09月25日.10:48:03 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1474800483.31.0.700864577383.issue28269@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Attempt to complile Python/dynload_win.c by MinGW fails
due to static reimplementation of strcasecmp function in this file:
---
/* Case insensitive string compare, to avoid any dependencies on particular
C RTL implementations */
static int strcasecmp (char *string1, char *string2)
{
int first, second;
do {
first = tolower(*string1);
second = tolower(*string2);
string1++;
string2++;
} while (first && first == second);
return (first - second);
}
---
And this reimplementation clashed with native declaration of strcasecmp()
which one is a part of MinGW runtime
So suggested patch (for 3.5.2 and 2.7.12)
just disables static reimplementation of strcasecmp for MinGW |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2016年09月25日 10:48:03 | vmurashev | set | recipients:
+ vmurashev |
| 2016年09月25日 10:48:03 | vmurashev | set | messageid: <1474800483.31.0.700864577383.issue28269@psf.upfronthosting.co.za> |
| 2016年09月25日 10:48:03 | vmurashev | link | issue28269 messages |
| 2016年09月25日 10:48:03 | vmurashev | create |
|