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 tnmurphy
Recipients tnmurphy
Date 2015-07-06.13:13:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1436188396.48.0.089424009249.issue24575@psf.upfronthosting.co.za>
In-reply-to
Content
My build of the 3.5 head fails in timemodule.c which results in an interpreter that can run but can't "import time".

Details:
changeset 96851:bb9fc884a838
on Fedora Linux x86_64 

Output:
/home/tim/build/cpython/Modules/timemodule.c: In function ‘time_strftime’:
/home/tim/build/cpython/Modules/timemodule.c:656:9: error: unknown type name ‘_Py_BEGIN_SUPPRESS_IPH’
         _Py_BEGIN_SUPPRESS_IPH
         ^
/home/tim/build/cpython/Modules/timemodule.c:656:9: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement]
/home/tim/build/cpython/Modules/timemodule.c:658:9: error: ‘_Py_END_SUPPRESS_IPH’ undeclared (first use in this function)
         _Py_END_SUPPRESS_IPH
         ^
/home/tim/build/cpython/Modules/timemodule.c:658:9: note: each undeclared identifier is reported only once for each function it appears in
/home/tim/build/cpython/Modules/timemodule.c:662:9: error: expected ‘;’ before ‘if’
         if (buflen > 0 || i >= 256 * fmtlen) {
         ^
/home/tim/build/cpython/Modules/timemodule.c:657:9: warning: unused variable ‘buflen’ [-Wunused-variable]
         buflen = format_time(outbuf, i, fmt, &buf);
         ^
/home/tim/build/cpython/Modules/timemodule.c:561:20: warning: unused variable ‘buflen’ [-Wunused-variable]
     size_t fmtlen, buflen;
                    ^
/home/tim/build/cpython/Modules/timemodule.c:561:12: warning: variable ‘fmtlen’ set but not used [-Wunused-but-set-variable]
     size_t fmtlen, buflen;
            ^
cc1: some warnings being treated as errors

Failed to build these modules:
time
History
Date User Action Args
2015-07-06 13:13:16tnmurphysetrecipients: + tnmurphy
2015-07-06 13:13:16tnmurphysetmessageid: <1436188396.48.0.089424009249.issue24575@psf.upfronthosting.co.za>
2015-07-06 13:13:16tnmurphylinkissue24575 messages
2015-07-06 13:13:15tnmurphycreate