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.

classification
Title: ‘mpd_del’ discards qualifiers from pointer target type
Type: enhancement Stage: resolved
Components: Extension Modules Versions: Python 3.4
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: christian.heimes, python-dev, skrah
Priority: low Keywords:

Created on 2013-12-15 15:13 by christian.heimes, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (3)
msg206236 - (view) Author: Christian Heimes (christian.heimes) * (Python committer) Date: 2013-12-15 15:13
One buildbot is emitting a warning:

Modules/_decimal/libmpdec/mpdecimal.c:4438: warning: passing argument 1 of ‘mpd_del’ discards qualifiers from pointer target type

http://buildbot.python.org/all/builders/x86%20Ubuntu%20Shared%203.x/builds/9351/steps/compile/logs/warnings%20%281%29
msg206240 - (view) Author: Stefan Krah (skrah) * (Python committer) Date: 2013-12-15 16:44
I agree that warnings are annoying, but I'm not sure what to do
with this one:  It's wrong and only occurs with fairly old gcc
versions.

My feeling was that pragmas are overkill for relatively old
compilers.
msg206251 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2013-12-15 20:03
New changeset 274b293435fb by Stefan Krah in branch '3.3':
Issue #19986: Avoid an incorrect warning of older gcc versions.
http://hg.python.org/cpython/rev/274b293435fb
History
Date User Action Args
2022-04-11 14:57:55adminsetgithub: 64185
2013-12-15 20:42:51skrahsetstatus: open -> closed
type: compile error -> enhancement
resolution: fixed
stage: needs patch -> resolved
2013-12-15 20:03:32python-devsetnosy: + python-dev
messages: + msg206251
2013-12-15 16:44:27skrahsetnosy: + skrah
messages: + msg206240
2013-12-15 15:13:57christian.heimescreate