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 Jeffrey.Armstrong
Recipients Jeffrey.Armstrong
Date 2014-10-06.14:20:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1412605205.62.0.227720568137.issue22568@psf.upfronthosting.co.za>
In-reply-to
Content
Under certain circumstances, Modules/posixmodule.c will fail to compile due to a number of utime-related functions using a variable named "utime" when a function named "utime" already exists in the compiler's C header files.  Specifically, if the following are undefined:

HAVE_UTIMENSAT
HAVE_UTIMES

and the following are defined:

HAVE_UTIMENSAT
HAVE_LUTIMES
HAVE_UTIME_H

the compiler will fail because the UTIME_TO_UTIMBUF module attempts to access utime->now when utime is acutually a function included from utime.h.

I've attached a patch that renames the uname functions' parameter "utime" to "ut" to avoid the conflict.

This bug was encountered using Open Watcom 2.0 (owcc) under GNU/Linux 32-bit.
History
Date User Action Args
2014-10-06 14:20:05Jeffrey.Armstrongsetrecipients: + Jeffrey.Armstrong
2014-10-06 14:20:05Jeffrey.Armstrongsetmessageid: <1412605205.62.0.227720568137.issue22568@psf.upfronthosting.co.za>
2014-10-06 14:20:05Jeffrey.Armstronglinkissue22568 messages
2014-10-06 14:20:05Jeffrey.Armstrongcreate