Hi David,
your help did not only save the day but the rest of the week, thank you very much :-)
I could compile the CVS and FG is running!

Have you tried adding -DNOMINMAX to your CFLAGS and CXXFLAGS?

Mmh, this was behind my scope. If you ever have some time then tell me please where I find these "flags". Can I find something linke a config file anywhere?

Alternatively try adding

#ifdef HAVE_CONFIG_H
#  include <config.h>
#endif

as the first include of each cxx or cpp file giving problems.

This solved the problem. I just put it into the following 4 files (I hope I did not forget one):
FGDeadband.h
../FGJSBBase.h
FGFCSComponent.h
../FGPropertyManager.h
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
As I have not got the skills until now to create a diff file to the cvs and I am not sure whether I have placed the stuff at the position in the code where it should be in a professional manner I would ask anyone who can do it for changing these CVS files to prevent trouble for other friends using Cygwin/CVS. Thank you in advance!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

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
Ok, now blind but pretty well remembering the way to go from the days you could see :-) :-)
Thank you once again, I am really happy now.
Regards
Georg EDDW

_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to