[prev in list] [next in list] [prev in thread] [next in thread]
List: netbsd-tech-toolchain
Subject: re: Massive namespace pollution
From: matthew green <mrg () eterna ! com ! au>
Date: 2003-08-21 23:58:56
[Download RAW message or body]
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.
the change for pthread_types.h to include <machine/lock.h> or whatever
it was caused some other lossage for me... i did spend some time adding
#ifdef _KERNEL to some header files, but never really finished it...
.mrg.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic