A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2009-January/084692.html below:

[Python-Dev] #ifdef __cplusplus?

[Python-Dev] #ifdef __cplusplus?Adam Olsen rhamph at gmail.com
Fri Jan 2 06:58:18 CET 2009
On Thu, Jan 1, 2009 at 10:17 PM, Alexander Belopolsky
<alexander.belopolsky at gmail.com> wrote:
> On Thu, Jan 1, 2009 at 11:05 PM, Christian Heimes <lists at cheimes.de> wrote:
> ..
>> You might be interested in the bug report
>> http://bugs.python.org/issue4665. Skip pointed out that Python 2.6 no
>> longer compiles with a C++ compiler due to missing casts. C++ is more
>> restrict when it comes to implicit casts from (amongst others) void
>> pointers.
>>
> Since that issue is closed, I have created
> http://bugs.python.org/issue4805 with a patch that restores C++
> compilability of the core and a few standard modules.

As C++ has more specific ways of allocating memory, they impose this
restriction to annoy you into using them.  We won't be using them, and
the extra casts and nothing but noise.  Figure out a way to turn off
the warnings instead.

http://www.research.att.com/~bs/bs_faq2.html#void-ptr


-- 
Adam Olsen, aka Rhamphoryncus
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4