imacarthur wrote:

> Odd - I have mingw on most of my win32 machines and have never seen this 
> problem.

[...]

> I can not reproduce this problem.

Well, I can reproduce it with my Cygwin setup. As we all know ;-)
Cygwin uses the MinGW compiler when used with -mno-cygwin.

Here is a short reproducer (intentionally no FLTK code except
the include files):

// --- begin ---
#include <dirent.h>
#include <FL/Fl_File_Chooser.H>
#include <stdio.h>
int main() {
   printf("Hello world!\n");
   return 0;
}
// --- end ---

Does this compile for you? I get

In file included from ../FL/Fl_File_Browser.H:37,
                  from ../FL/Fl_File_Chooser.H:43,
                  from dirent.cxx:3:
../FL/filename.H:58: error: redefinition of `struct dirent'
/usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../i686-pc-mingw32/include/dirent.h:23:
 
error: previous definition of `struct dirent'

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

Reply via email to