DIR struct on MinGW

Paulo Jorge Guedes Paulo.Guedes at artelecom.pt
Wed Aug 2 15:24:42 CEST 2006


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



More information about the Kde-windows mailing list