i386/52971: bad macro LIST_HEAD in /usr/include/sys/queue.h
pasky at ucw.cz
pasky at ucw.cz
Thu Jun 5 10:50:11 PDT 2003
>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 at 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 at 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:
More information about the freebsd-i386
mailing list