Compile errors with FreeBSD 5.0

Ove Kaaven ovehk at ping.uio.no
Thu Nov 8 13:14:49 CST 2001


On 8 Nov 2001, Andreas Mohr Usenet 10/01 wrote:

> Jan Stocker <Jan.Stocker at hb.materna.de> wrote:
> > Hi, 
> > the current version of FreeBSD (5.0) has a common header which defines
> > struct thread, so there will be an redefinition and nothing works. I 
> > think you shall rename your stuff from thread.h to something like wine_thread
> > to get out of this trouble.
> Nope, we already did, AFAIR.

I don't think so. You're probably thinking of the "struct option" change,
but "struct thread" hasn't been changed.

> The problem is that you're not using CVS ;-)

I'd rather say that the problem is FreeBSD. System headers should not
pollute the namespace of applicatio. The glibc headers take great care to
avoid polluting the namespace, but FreeBSD is starting to look like it
thinks that it can define any common name, and if there's a collision
because of that carelessness, they tell all the apps to rename their
symbols, instead of fixing the OS.





More information about the wine-users mailing list