> -----Original Message-----
> From: Peter Kümmel [mailto:[EMAIL PROTECTED]
> Sent: quarta-feira, 2 de Agosto de 2006 14:43
> To: [email protected]
> Subject: Re: DIR struct on MinGW
> 
> Paulo Jorge Guedes wrote:
> > Hi,
> >
> > MinGW struct doesn't have some needed members like offset, etc, thus
> > kdewin32 gives some errors:
> >
> > [ 48%] Building C object CMakeFiles/kdewin32.dir/src/dirent.obj
> > d:/kde/kdesupport/kdewin32/src/dirent.c: In function `opendir':
> > d:/kde/kdesupport/kdewin32/src/dirent.c:96: error: structure has no
> > member named `offset'
> > d:/kde/kdesupport/kdewin32/src/dirent.c:97: error: structure has no
> > member named `finished'
> > d:/kde/kdesupport/kdewin32/src/dirent.c:98: error: structure has no
> > member named `dir'
> > d:/kde/kdesupport/kdewin32/src/dirent.c:100: error: structure has no
> > member named `fileinfo'
> > d:/kde/kdesupport/kdewin32/src/dirent.c:102: error: structure has no
> > member named `finished'
> > d:/kde/kdesupport/kdewin32/src/dirent.c:107: error: structure has no
> > member named `handle'
> >
> > [...]
> >
> > There used to be readir.h with these members defined but the file was
> > moved to dirent.h and made to include mingw's dirent.h which doesn't
> > have them.
> >
> > Can this be fixed?
> >
> > Paulo
> 
> I've renamed readir.h because it is not a posix file. Have a look at the
> msvc version of dirent.h and copy the missing definitions to the mingw
> version.

And stop including the mingw version?

Paulo
_______________________________________________
Kde-buildsystem mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-buildsystem

Reply via email to