Jonathan on those four lines (thats all there is) change the text from
"sgMat4 &get..." to "sgVec4 * get...".  If you bring up lines 96-99 you'll see
where the change is required.

Sorry about that.  I should be able to get a patch done sometime tomorrow.

Best,

Jim

Jonathan Polley <[EMAIL PROTECTED]> said:

> With the latest updates to CVS, MSVC is having problems.
> 
> c:flightgearsrcmainlocation.hxx(96) : error C2440: 'return' : cannot 
> convert from 'float [4][4]' to 'const float (&)[4][4]'
>          Reason: cannot convert from 'float [4][4]' to 'const float [4][4]'
>          There is no context in which this conversion is possible
> c:flightgearsrcmainlocation.hxx(97) : error C2440: 'return' : cannot 
> convert from 'float [4][4]' to 'const float (&)[4][4]'
>          Reason: cannot convert from 'float [4][4]' to 'const float [4][4]'
>          There is no context in which this conversion is possible
> c:flightgearsrcmainlocation.hxx(98) : error C2440: 'return' : cannot 
> convert from 'float [4][4]' to 'const float (&)[4][4]'
>          Reason: cannot convert from 'float [4][4]' to 'const float [4][4]'
>          There is no context in which this conversion is possible
> c:flightgearsrcmainlocation.hxx(99) : error C2440: 'return' : cannot 
> convert from 'float [4][4]' to 'const float (&)[4][4]'
>          Reason: cannot convert from 'float [4][4]' to 'const float [4][4]'
>          There is no context in which this conversion is possible
> 
> Since the compile dies at this point, I don't know if there are any more 
> hiding in the background.
> 
> There are older issues with building under MSVC:
> 
> Main/viewer.cxx has a #include <fg_props.hxx> that should be either 
> "fg_props.hxx" or <Main/fg_props.hxx>, which ever you prefer.
> 
> Both Network/raw_ctrls.hxx and Network/net_fdm.hxx have static constants 
> defined as a part of their classes.  MSVC does not want them to be used to 
> define structures, but will take the enumeration equivalent.
> 
> 
> As always, I have no problems with Linux.
> 
> Thanks,
> 
> Jonathan Polley
> 



-- 
Jim Wilson - IT Manager
Kelco Industries
PO Box 160
58 Main Street
Milbridge, ME 04658
207-546-7989 - FAX 207-546-2791
http://www.kelcomaine.com




_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to