Subject: lib/29987: X.Org problem with our self-including includes
To: None <lib-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <tonnerre@thundrix.ch>
List: netbsd-bugs
Date: 04/16/2005 19:23:00
>Number:         29987
>Category:       lib
>Synopsis:       X.Org problem with our self-including includes
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 16 19:23:00 +0000 2005
>Originator:     Tonnerre Lombard
>Release:        NetBSD 2.0.2
>Organization:
Chaos Control
>Environment:
NetBSD jules.thundrix.ch 2.0.2 NetBSD 2.0.2 (TONNERRE) #1: Sat Apr  9 21:59:08 CEST 2005  root@jules.thundrix.ch:/usr/obj/sys/arch/i386/compile/TONNERRE i386
>Description:
https://bugs.freedesktop.org/show_bug.cgi?id=3049

inttypes.h includes wchar.h which includes stdio.h, this leads to problems with X.Org DRI because they have their own stdio.
>How-To-Repeat:
Compile xorg-server with BuildXF86DRI on and watch radeon fail
>Fix:
Prevent stdint.h from including wchar.h