Date: Thu, 5 Jun 2003 18:11:52 +0200 (CEST) From: pasky@ucw.cz To: FreeBSD-gnats-submit@FreeBSD.org Subject: i386/52971: bad macro LIST_HEAD in /usr/include/sys/queue.h Message-ID: <200306051611.h55GBqMP002675@253client.scnet.cz> Resent-Message-ID: <200306051750.h55Ho9Q0065133@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 52971 >Category: i386 >Synopsis: bad macro LIST_HEAD in /usr/include/sys/queue.h >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-i386 >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Jun 05 10:50:08 PDT 2003 >Closed-Date: >Last-Modified: >Originator: root >Release: FreeBSD 4.8-RELEASE i386 >Organization: >Environment: System: FreeBSD 253client.scnet.cz 4.7-RELEASE FreeBSD 4.7-RELEASE #1: Sat May 10 23:58:26 CEST 2003 root@pretorian.home:/usr/src/sys/compile/pretorian0 i386 In FreeBSD 4.8-RELEASE, /usr/include/sys/queue.h (included from ie. sys/select.h) contains definition of a LIST_HEAD macro. This is a namespace clash, since it interferes with variors userspace programs (ie. ELink-CVS) and presence of this symbol is not defined in any standard. The macro should me moved to the system namespace by prefixing it with __ or the namespace clash should be fixed in some other way. Reported by Petr Baudis <pasky@ucw.cz>, he couldn't report by himself as he has no access to a FreeBSD system personally and the web interface is not working. >Description: >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306051611.h55GBqMP002675>