Subject: kern/13479: sys/types.h: macro or `#include' recursion too deep
To: None <gnats-bugs@gnats.netbsd.org>
From: None <hamajima@nagoya.ydc.co.jp>
List: netbsd-bugs
Date: 07/16/2001 12:21:57
>Number:         13479
>Category:       kern
>Synopsis:       macro or `#include' recursion too deep
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 15 20:20:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Katsuomi Hamajima
>Release:        NetBSD 1.5W
>Organization:
>Environment:
	sys/param.h 1.128
	sys/types.h 1.49
	sys/stdint.h 1.1
System: NetBSD ppc 1.5W NetBSD 1.5W (8500) #26: Mon Jul  9 13:46:14 JST 2001     hamajima@ppc:/usr/src/sys/arch/macppc/compile/8500 macppc

>Description:
% echo '#include <sys/param.h>' | /usr/bin/cpp >/dev/null
In file included from /usr/include/sys/param.h:90,
                 from :1:
/usr/include/sys/types.h:95: macro or `#include' recursion too deep
/usr/include/sys/types.h:96: macro or `#include' recursion too deep
/usr/include/sys/types.h:97: macro or `#include' recursion too deep
/usr/include/sys/types.h:98: macro or `#include' recursion too deep
In file included from /usr/include/sys/param.h:90,
                 from :1:
/usr/include/sys/types.h:117: macro or `#include' recursion too deep
/usr/include/sys/types.h:123: macro or `#include' recursion too deep
/usr/include/sys/types.h:126: macro or `#include' recursion too deep
/usr/include/sys/types.h:152: macro or `#include' recursion too deep
/usr/include/sys/types.h:153: macro or `#include' recursion too deep
/usr/include/sys/types.h:155: macro or `#include' recursion too deep
/usr/include/sys/types.h:249: macro or `#include' recursion too deep

>How-To-Repeat:
	always
>Fix:
	< #define int8_t int8_t
	> #define int8_t __int8_t
>Release-Note:
>Audit-Trail:
>Unformatted: