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 Devyn Johnson
Recipients Devyn Johnson
Date 2016-02-22.15:15:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1456154116.48.0.737124559195.issue26410@psf.upfronthosting.co.za>
In-reply-to
Content
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);
History
Date User Action Args
2016-02-22 15:15:16Devyn Johnsonsetrecipients: + Devyn Johnson
2016-02-22 15:15:16Devyn Johnsonsetmessageid: <1456154116.48.0.737124559195.issue26410@psf.upfronthosting.co.za>
2016-02-22 15:15:16Devyn Johnsonlinkissue26410 messages
2016-02-22 15:15:16Devyn Johnsoncreate