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 ncoghlan
Recipients larry, ncoghlan, vajrasky
Date 2013-11-17.05:45:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1384667109.52.0.185825887111.issue19296@psf.upfronthosting.co.za>
In-reply-to
Content
I get the same warning on Fedora 19.

However, the signature of dbmopen_impl is generated by argument clinic, so it isn't simply a matter of patching the signature in place. I'm also inclined to consider the *platform* header to be wrong, since the dbm_open API really should be accepting "const char *" rather than "char *".

We should find a way to silence the warning to avoid the false alarm in the build output (a cast to "char *" with a reference to this issue would be the brute force approach), but propagating the incorrect type declaration higher up the call stack is unlikely to be the right approach.
History
Date User Action Args
2013-11-17 05:45:09ncoghlansetrecipients: + ncoghlan, larry, vajrasky
2013-11-17 05:45:09ncoghlansetmessageid: <1384667109.52.0.185825887111.issue19296@psf.upfronthosting.co.za>
2013-11-17 05:45:09ncoghlanlinkissue19296 messages
2013-11-17 05:45:08ncoghlancreate