Alan,

 

simgear-config.h cannot be used in SGMisc.cxx because it is called from fg
as well as sg. SGMisc will not compile without NOMINMAX , so you need it in
your pre-processor definitions. Unless you have a better way .

 

The error you report is the very one that replacing the SGMathFwd.hxx
include with the SGMath.hxx include is meant to fix. I have just checked SG
CVS Head and AFAIKS it still has the SGMathFwd.hxx include. I have discussed
this with Tim, and he doesn't want to change it for now while he looks for a
work around.

 

Vivian

 

-----Original Message-----
From: Alan Teeder [mailto:ajtee...@v-twin.org.uk] 
Sent: 20 July 2009 13:13
To: vivian.mea...@lineone.net; 'FlightGear developers discussions'
Subject: Re:
[Flightgear-devel][Simgear-cvslogs]CVS:source/simgear/propsprops.cxx,
1.44,1.45 props.hxx, 1.32, 1.33

 

Vivian

 

Thanks, the number of errors has reduced, but I still see the attached for
every file that includes props.hxx

 

Also CVS now has the SGMath.hxx include, and NOMINMAX is already defined in
simgear_config.h-msvc71 and hence in simgear_config.h, so I think that it is
not needed in pre-processor defines.

 

Alan

 

  _____  

From: Vivian Meazza [mailto:vivian.mea...@lineone.net] 
Sent: 20 July 2009 00:16
To: vivian.mea...@lineone.net; 'FlightGear developers discussions'
Subject: Re:
[Flightgear-devel][Simgear-cvslogs]CVS:source/simgear/propsprops.cxx,
1.44,1.45 props.hxx, 1.32, 1.33

 

And I forgot - you need to change #include <simgear/math/SGMathFwd.hxx> to
#include <simgear/math/SGMath.hxx> in props.cxx

 

-----Original Message-----
From: Vivian Meazza [mailto:vivian.mea...@lineone.net] 
Sent: 19 July 2009 23:47
To: 'FlightGear developers discussions'
Subject: Re:
[Flightgear-devel][Simgear-cvslogs]CVS:source/simgear/propsprops.cxx,
1.44,1.45 props.hxx, 1.32, 1.33

 

Alan,

 

Tim's fixes are now in CVS although not quite finished: you might have to
add NOMINMAX to your pre-processor definitions.

 

I'd be interested to hear how you get on.

 

Vivian

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to