Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Sep 2003 11:27:37 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bzeeb+freebsd@zabbadoz.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        bzeeb+freebsd@zabbadoz.net
Subject:   kern/56865: sys/endian.h broken with c++
Message-ID:  <20030914112737.667A7155E8@mail.int.zabbadoz.net>
Resent-Message-ID: <200309141130.h8EBUF7D097634@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030914112737.667A7155E8>