Paul Deppe writes: > > I'm getting the following warning when running ./configure with CVS SimGear > on Cygwin/Win2k: > > configure: WARNING: winbase.h: present but cannot be compiled > configure: WARNING: winbase.h: check for missing prerequisite headers? > configure: WARNING: winbase.h: proceeding with the preprocessor's result > configure: WARNING: ## ------------------------------------ ## > configure: WARNING: ## Report this to [EMAIL PROTECTED] ## > configure: WARNING: ## ------------------------------------ ## > > Do any other Cygwin users get this warning? Is it important?
I started getting that recently too :-( Ah the problem is that we are calling AC_CHECK_HEADERS( ..., winbase.h, ... ) and you can't include a <windows> subheader directly safely always use just <windows.h> and it will bring them all in I don't think there is any need for this as we do the explicit check AC_CHECK_HEADER(windows.h) so I think this is the correct patch < this also has a minor MingW32 tweak > Could someone add these to the CVS please $ cvs diff configure.ac Index: configure.ac =================================================================== RCS file: /var/cvs/SimGear-0.3/SimGear/configure.ac,v retrieving revision 1.12 diff -r1.12 configure.ac 182c182 < LIBS="$LIBS -lws2_32" --- > base_LIBS="$base_LIBS -lws2_32" 362c362 < sys/stat.h sys/time.h sys/timeb.h unistd.h winbase.h values.h ) --- > sys/stat.h sys/time.h sys/timeb.h unistd.h values.h ) Norman _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
