Message300238
On a Fedora 26 system, I run configure as:
$ ../configure --with-assertions --with-lto --with-pydebug --with-address-sanitizer --disable-ipv6
My pyconfig.h contains:
/* #undef HAVE_CLOCK */
/* Define to 1 if you have the `clock_getres' function. */
/* #undef HAVE_CLOCK_GETRES */
/* Define to 1 if you have the `clock_gettime' function. */
/* #undef HAVE_CLOCK_GETTIME */
/* Define to 1 if you have the `clock_settime' function. */
/* #undef HAVE_CLOCK_SETTIME */
/* Define if the C compiler supports computed gotos. */
/* #undef HAVE_COMPUTED_GOTOS */
When this happens, __PyTime_FromTimespec is undefined in pytime.c:747.
../Python/pytime.c:747:9: error: implicit declaration of function ‘_PyTime_FromTimespec’; did
you mean ‘_PyTime_FromTimeval’? [-Werror=implicit-function-declaration]
if (_PyTime_FromTimespec(tp, &ts, raise) < 0)
^~~~~~~~~~~~~~~~~~~~
_PyTime_FromTimeval
cc1: some warnings being treated as errors
make[2]: *** [Makefile:1553: Python/pytime.o] Error 1 |
|
Date |
User |
Action |
Args |
2017-08-14 08:01:57 | pmatos | set | recipients:
+ pmatos |
2017-08-14 08:01:57 | pmatos | set | messageid: <1502697717.3.0.518925337608.issue31199@psf.upfronthosting.co.za> |
2017-08-14 08:01:57 | pmatos | link | issue31199 messages |
2017-08-14 08:01:57 | pmatos | create | |
|