kern/56865: sys/endian.h broken with c++
Bjoern A. Zeeb
bzeeb+freebsd at zabbadoz.net
Sun Sep 14 04:30:17 PDT 2003
>Number: 56865
>Category: kern
>Synopsis: sys/endian.h broken with c++
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Sep 14 04:30:15 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Bjoern A. Zeeb
>Release: FreeBSD 5.1-RELEASE i386
>Organization:
Zabbadoz.NeT
>Environment:
System: FreeBSD e0-0.noc.int.zabbadoz.net 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Thu Jun 5 02:55:42 GMT 2003 root at wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC i386
>Description:
from what I can see sys/endian.h is still broken -
at least on i386 - with c++ in HEAD
This is somewhat wellknown and nobody fixes this :(((
>How-To-Repeat:
/* compile with: c++ endian.c */
#include <sys/endian.h>
int main(int argc, char *argv[])
{
return 0;
}
>Fix:
please see
http://lists.freebsd.org/pipermail/freebsd-hackers/2003-June/001477.html
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list