Subject: Massive namespace pollution
To: None <tech-toolchain@netbsd.org>
From: David Laight <david@l8s.co.uk>
List: tech-toolchain
Date: 08/21/2003 19:21:29
Investigating why bochs fails to compile shows the following include trail:

In file included from /usr/include/machine/specialreg.h:3,
                 from /usr/include/machine/cpufunc.h:49,
                 from /usr/include/x86/lock.h:50,
                 from /usr/include/machine/lock.h:3,
                 from /usr/include/pthread_types.h:42,
                 from /usr/include/sys/types.h:361,
                 from /usr/include/stdlib.h:41,

This is pulling far too many symbols in unreserved namespaces.
The actual fail is on #define CPUID() but there is far too much
unexpected stuff being defined.

	David

-- 
David Laight: david@l8s.co.uk