On Thu, Jan 1, 2009 at 10:17 PM, Alexander Belopolsky <alexander.belopol...@gmail.com> wrote: > On Thu, Jan 1, 2009 at 11:05 PM, Christian Heimes <li...@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 _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com