Have you tried adding -DNOMINMAX to your CFLAGS and CXXFLAGS? Alternatively try adding
#ifdef HAVE_CONFIG_H # include <config.h> #endif as the first include of each cxx or cpp file giving problems. I'm not using Cygwin any more BTW, so I'm posting blind, but I'm pretty sure it will turn out to be the old min/max redefinition problem again. Cheers - Dave Georg Vollnhals writes: > Hi, > after many!!! new builds without any problem I have got a new one over > the last days when trying to compile the newest CVS under Cygwin. > At last I even made a complete new Cygwin install and complete new > download of SimGear and FlightGear CVS and tried to compile the whole > stuff - same result: SimGear without problems, FlightGear compilation > does not work. > Any ideas? Thank you in advance! > Regards > Georg EDDW > > In file included from > /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/deque:71, > from > /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/queue:74, > from ../FGJSBBase.h:47, > from FGFCSComponent.h:46, > from FGDeadBand.h:40, > from FGDeadBand.cpp:40: > /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/stl_deque.h: In > member function `void std::_Deque_base<_Tp, > _Alloc>::_M_initialize_map(size_t)': > /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/stl_deque.h:446: > error: expected unqualified-id before '(' token > In file included from ... _______________________________________________ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d