Dave Malcolm <dmalc...@redhat.com> added the comment:

I'm seeing this with gcc-4.4.3 with -Wall -Werror, leading to fatal errors 
trying to build an extension module against python 3.1

The references to SIZEOF_SOCKET_T within longobject.h appear to be just in the 
py3k branch, not trunk, and were added in r59009.  I'm marking this issue as 
python3, and as both "Interpreter Core" and "Extension Modules".

There didn't seem to be a natural place to put these types, so I'm attaching a 
patch against the py3k branch which adds a new public/installed header file: 
Include/socketrepr.h, specifically to contain them.   How does this look?

----------
components: +Extension Modules, Interpreter Core
keywords: +patch
nosy: +dmalcolm
stage:  -> patch review
type:  -> compile error
versions: +Python 3.1, Python 3.2, Python 3.3
Added file: http://bugs.python.org/file17057/add-socketrepr.h-to-py3k.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue4835>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to