Message278993
Our build environment uses -Wno-error. However, this causes problems enabling all the functions in built-in module 'time':
configure:11130: checking for strftime
-
-
cc1: warnings being treated as errors
conftest.c:236: error: conflicting types for built-in function 'strftime'
Because strftime was not enabled, we had problems running xmlrpc.client:
>>> from xmlrpc import client
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "XXX/lib64/python3.5/xmlrpc/client.py", line 267, in <module> if _day0.strftime('%Y') == '0001': # Mac OS X AttributeError: module 'time' has no attribute 'strftime' >>>
As a workaround, I am passing -fno-builtin now. But I believe this should be handled on the python end |
|
Date |
User |
Action |
Args |
2016-10-19 21:02:02 | toast12 | set | recipients:
+ toast12 |
2016-10-19 21:02:02 | toast12 | set | messageid: <1476910922.79.0.695929522642.issue28478@psf.upfronthosting.co.za> |
2016-10-19 21:02:02 | toast12 | link | issue28478 messages |
2016-10-19 21:02:02 | toast12 | create | |
|