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 pablogsal
Recipients koobs, pablogsal
Date 2018-09-17.19:32:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1537212734.38.0.956365154283.issue34715@psf.upfronthosting.co.za>
In-reply-to
Content
Example:

https://buildbot.python.org/all/#/builders/87/builds/1434

./Modules/timemodule.c:573:24: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
            p->tm_zone = PyUnicode_AsUTF8(item);
                       ^ ~~~~~~~~~~~~~~~~~~~~~~
./Modules/timemodule.c:1545:44: warning: incompatible pointer to integer conversion passing 'char *(int, int)' to parameter of type 'long' [-Wint-conversion]
    PyModule_AddIntConstant(m, "timezone", timezone);
                                           ^~~~~~~~
./Include/modsupport.h:118:71: note: passing argument to parameter here
PyAPI_FUNC(int) PyModule_AddIntConstant(PyObject *, const char *, long);
                                                                      ^
./Modules/timemodule.c:1568:44: error: use of undeclared identifier 'daylight'
    PyModule_AddIntConstant(m, "daylight", daylight);
                                           ^
2 warnings and 1 error generated.
*** [Modules/timemodule.o] Error code 1
make: stopped in /usr/home/buildbot/python/3.x.koobs-freebsd10/build
make: stopped in /usr/home/buildbot/python/3.x.koobs-freebsd10/build
1 error
History
Date User Action Args
2018-09-17 19:32:14pablogsalsetrecipients: + pablogsal, koobs
2018-09-17 19:32:14pablogsalsetmessageid: <1537212734.38.0.956365154283.issue34715@psf.upfronthosting.co.za>
2018-09-17 19:32:14pablogsallinkissue34715 messages
2018-09-17 19:32:14pablogsalcreate