Or -DNOMINMAX in the compiler options

-Fred

-- message original --
Sujet:  Re: [Flightgear-devel] [Simgear-cvslogs] CVS: 
source/simgear/mathSGGeodesy.cxx, 1.8, 1.9
De:     "Vivian Meazza" <vivian.mea...@lineone.net>
Date:           27.12.2008 13:06

That fixes Tim's version. Thanks

 

Vivian

 

-----Original Message-----
From: Yon Uriarte [mailto:yon.uria...@gmail.com] 
Sent: 27 December 2008 11:53
To: FlightGear developers discussions
Subject: Re: [Flightgear-devel] [Simgear-cvslogs] CVS:
source/simgear/mathSGGeodesy.cxx, 1.8, 1.9

 

Hi,

 

add

#undef max

#undef min

at the top of that SGMisc.hxx, just before "class ..."

 

I thought it was a local problem at my end cause I'm always changing things,
heh.

It's been that way for a few days.

 

hth,

 yon

 

 

On Sat, Dec 27, 2008 at 12:21 PM, Vivian Meazza <vivian.mea...@lineone.net>
wrote:

 

Hmmm, neither version compiles here with MSVC9. Gives the following error:

source\simgear\math\SGMisc.hxx(27) : error C2059: syntax error :
'<L_TYPE_raw>'

followed by hundreds of errors like this:

1>d:\cygwin\simgear-cvs\source\simgear\math\SGMisc.hxx(28) : error C2143:
syntax error : missing ')' before '}'
1>d:\cygwin\simgear-cvs\source\simgear\math\SGMisc.hxx(28) : error C2143:
syntax error : missing '}' before ')'

Perhaps Fred has the answer

Vivian

 


------------------------------------------------------------------------------

_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


------------------------------------------------------------------------------
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to