Message353562
Warnings on Linux with gcc -O3:
/home/vstinner/python/master/Modules/_randommodule.c:546:17: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
546 | {Py_tp_doc, random_doc},
| ^~~~~~~~~~
/home/vstinner/python/master/Modules/_asynciomodule.c: In function ‘task_step_impl’:
/home/vstinner/python/master/Modules/_asynciomodule.c:2660:1: warning: label ‘set_exception’ defined but not used [-Wunused-label]
2660 | set_exception:
| ^~~~~~~~~~~~~
In function ‘getsockaddrarg’,
inlined from ‘sock_bind’ at /home/vstinner/python/master/Modules/socketmodule.c:3113:10:
/home/vstinner/python/master/Modules/socketmodule.c:2331:9: warning: ‘memset’ offset [17, 88] from the object at ‘addrbuf’ is out of the bounds of referenced subobject ‘sa’ with type ‘struct sockaddr’ at offset 0 [-Warray-bounds]
2331 | memset(sa, 0, sizeof(*sa));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
For socketmodule: I already created bpo-38282. |
|
Date |
User |
Action |
Args |
2019-09-30 10:16:56 | vstinner | set | recipients:
+ vstinner |
2019-09-30 10:16:56 | vstinner | set | messageid: <1569838616.44.0.567794860409.issue38321@roundup.psfhosted.org> |
2019-09-30 10:16:56 | vstinner | link | issue38321 messages |
2019-09-30 10:16:56 | vstinner | create | |
|