Re: namespace pollution with struct thread?

2001-11-13 Thread Bruce Evans
On 14 Nov 2001, Dag-Erling Smorgrav wrote: > One other thing worth pointing out is that there is no reason for > to include . It just needs to declare struct > proc as an opaque structure. I tried removing it a moth or two ago, but gave up. There was too much secondary namespace pollution tha

Re: namespace pollution with struct thread?

2001-11-13 Thread Julian Elischer
On 14 Nov 2001, Dag-Erling Smorgrav wrote: > > One other thing worth pointing out is that there is no reason for > to include . It just needs to declare struct > proc as an opaque structure. Also, currently pulls in a > lot of other headers such as and that are > needed only because depe

Re: namespace pollution with struct thread?

2001-11-13 Thread Dag-Erling Smorgrav
John Baldwin <[EMAIL PROTECTED]> writes: > On 12-Nov-01 Julian Elischer wrote: > > On the other hand we might conceivably be able to > > stop the export from the kernel of this struct type. > Not unless we stop exporting struct proc since each proc has an > embedded thread. We don't really need

Re: struct thread

2001-11-13 Thread Jan Stocker
> > > > > On Tue, 13 Nov 2001, Jan Stocker wrote: > > > > > > > FYI: Ive posted an article to comp.emulators.ms-windows.wine about compiling > > > > errors for wine. This is caused by an redefinition of "struct thread". This >

Re: struct thread

2001-11-13 Thread Julian Elischer
somewhere else that IS exported.. > > > > > > On Tue, 13 Nov 2001, Jan Stocker wrote: > > > > > FYI: Ive posted an article to comp.emulators.ms-windows.wine about compiling > > > errors for wine. This is caused by an redefinition of "struct thr

Re: struct thread

2001-11-13 Thread Jan Stocker
rs.ms-windows.wine about compiling > > errors for wine. This is caused by an redefinition of "struct thread". This > > is the state at present: > > > > > > > > From: [EMAIL PROTECTED] (Steven G. Kargl) > > Subject: Re: Compile errors with FreeBSD

Re: struct thread

2001-11-13 Thread Julian Elischer
by an redefinition of "struct thread". This > is the state at present: > > > > From: [EMAIL PROTECTED] (Steven G. Kargl) > Subject: Re: Compile errors with FreeBSD 5.0 > Newsgroups: comp.emulators.ms-windows.wine > > In article <[EMAIL PROTECTED]>, >

struct thread

2001-11-13 Thread Jan Stocker
FYI: Ive posted an article to comp.emulators.ms-windows.wine about compiling errors for wine. This is caused by an redefinition of "struct thread". This is the state at present: From: [EMAIL PROTECTED] (Steven G. Kargl) Subject: Re: Compile errors with FreeBSD 5.0 Newsgroups: comp.em

Re: namespace pollution with struct thread?

2001-11-12 Thread Steve Kargl
I can confirm that I can build wine and run it if I put #ifdef _KERNEL ... #endif in sys/proc.h. I was uncertain about whether sys/user.h was a non-standard header file. I will probably relay Garrett's point to the wine developers at some point. steve On Mon, Nov 12, 2001 at 03:50:16PM -0800,

Re: namespace pollution with struct thread?

2001-11-12 Thread John Baldwin
On 12-Nov-01 Julian Elischer wrote: > On the other hand we might conceivably be able to > stop the export from the kernel of this struct type. Not unless we stop exporting struct proc since each proc has an embedded thread. > On Mon, 12 Nov 2001, Garrett Wollman wrote: > >> <> <[EMAIL PROTECT

Re: namespace pollution with struct thread?

2001-11-12 Thread Julian Elischer
On the other hand we might conceivably be able to stop the export from the kernel of this struct type. On Mon, 12 Nov 2001, Garrett Wollman wrote: > < >said: > > > I WINE developer has suggested that this is namespace > > pollution on the part of FreeBSD, but he hasn't given > > any details

namespace pollution with struct thread?

2001-11-12 Thread Garrett Wollman
< said: > I WINE developer has suggested that this is namespace > pollution on the part of FreeBSD, but he hasn't given > any details to support what he means. Applications which include , or any other non-standard header file, should expect that any conceivable symbol might be used therein. F

namespace pollution with struct thread?

2001-11-12 Thread Steve Kargl
Recent versions of WINE have defined a struct thread in wine/server/thread.h. Unfortunately, wine/server/context_i386.c sucks in sys/user.h, which brings in sys/proc.h. Of course, sys/proc.h contains the post-KSE integrated struct thread. I've managed to build WINE by temporarily plac