Bug#320630: libc6-dev: /usr/include/sys/socket.h broken with g++ 4.x

2005-07-30 Thread Daniel Jacobowitz
On Sat, Jul 30, 2005 at 10:01:14PM +0200, Jan-Benedict Glaw wrote: > On Sat, 2005-07-30 22:07:42 +0300, Jaakko Niemi <[EMAIL PROTECTED]> wrote: > > On Sat, 30 Jul 2005, Christoph Hellwig wrote: > > > > http://lists.debian.org/debian-devel/2005/07/msg01486.html > > > > > > > > for more discussion

Bug#320630: libc6-dev: /usr/include/sys/socket.h broken with g++ 4.x

2005-07-30 Thread Jan-Benedict Glaw
On Sat, 2005-07-30 22:07:42 +0300, Jaakko Niemi <[EMAIL PROTECTED]> wrote: > On Sat, 30 Jul 2005, Christoph Hellwig wrote: > > > http://lists.debian.org/debian-devel/2005/07/msg01486.html > > > > > > for more discussion about this. So, please just ditch the > > > enum and leave #defines. > > >

Bug#320630: libc6-dev: /usr/include/sys/socket.h broken with g++ 4.x

2005-07-30 Thread Jaakko Niemi
On Sat, 30 Jul 2005, Christoph Hellwig wrote: > > Please see the thread starting with: > > > > http://lists.debian.org/debian-devel/2005/07/msg01486.html > > > > for more discussion about this. So, please just ditch the > > enum and leave #defines. > > No, changing headers that way is a bad

Bug#320630: libc6-dev: /usr/include/sys/socket.h broken with g++ 4.x

2005-07-30 Thread Christoph Hellwig
On Sat, Jul 30, 2005 at 09:41:30PM +0300, Jaakko Niemi wrote: > Package: libc6-dev > Version: 2.3.5-2 > Severity: normal > Tags: patch > > /usr/include/sys/socket.h has the definitions of SHUT_* in > a anonymous enum. g++ 4 started enforcing C++ standard part > which forbids using anonymous enu

Bug#320630: libc6-dev: /usr/include/sys/socket.h broken with g++ 4.x

2005-07-30 Thread Jaakko Niemi
Package: libc6-dev Version: 2.3.5-2 Severity: normal Tags: patch /usr/include/sys/socket.h has the definitions of SHUT_* in a anonymous enum. g++ 4 started enforcing C++ standard part which forbids using anonymous enums as template arguments. Please see the thread starting with: http://lis