Message260685
When compiling Python3.5.1 on Ubuntu 15.10 (64-bit), I see three "incompatible pointer type" warnings (copy-pasted below). I understand that they can be ignored. However, from my experience with programming (in C STD-2011), "weird bugs" and other odd behavior disappears when warnings like this are fixed.
Environment flags (such as CFLAGS) and the configure settings do not appear to influence that warning (i.e. my settings are irrelevant to this bug report).
I hope that this bug report is found to be helpful. Also, thank you Python-developers for making and maintaining Python as open-source software.
Python/ceval_gil.h: In function drop_gil:
Python/ceval_gil.h:181:9: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
_Py_atomic_store_relaxed(&gil_last_holder, tstate);
^
Python/ceval_gil.h: In function take_gil:
Python/ceval_gil.h:243:9: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
_Py_atomic_store_relaxed(&gil_last_holder, tstate);
^
Python/pystate.c: In function PyThreadState_Swap:
Python/pystate.c:509:5: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
_Py_atomic_store_relaxed(&_PyThreadState_Current, newts); |
|
Date |
User |
Action |
Args |
2016-02-22 15:15:16 | Devyn Johnson | set | recipients:
+ Devyn Johnson |
2016-02-22 15:15:16 | Devyn Johnson | set | messageid: <1456154116.48.0.737124559195.issue26410@psf.upfronthosting.co.za> |
2016-02-22 15:15:16 | Devyn Johnson | link | issue26410 messages |
2016-02-22 15:15:16 | Devyn Johnson | create | |
|