Hello,
Nice to meet you all.
This is my first post.

I am using fltk(1.1.9) under windows with mingw.
In one application , i use dirent.h in source.
On compilation , mingw reported about the redefintion of
'struct dirent ' error.

I have traced the bug in the 'filename.h' of 'FL/filename.h'
in the line:
-----------------------------------
line 56:#  if defined(WIN32) && !defined(__CYGWIN__) && !defined(__WATCOMC__)

struct dirent {char d_name[1];};
----------------------------------
is the offending one.

if i changed it to:
if defined(WIN32) && !defined(__MINGW32__) && !defined(__CYG.....

the error disappears.

I thought that this would have come earlier in this forum and removed in
fltk 1.1.10 . But it is the same in 1.1.10 source.

Hope this is acceptable and request you to modify if found correct.

Thanks to Bill Spitzak and others for giving  such a wonderful toolkit.

ramakrishnan
28thnov2009



_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to