Good work Rob, saves some people some time I'm sure. Thank you. 

Alex 

On 28 October 2012 06:59, Rob Dosogne <admin@truthsolo.net> wrote:
Using MSVC11 (Visual Studio 2012), I've found the following issues
that prevent a successful compile:

- 'bzero' does not exist.
- 'std::greater' is now found in <functional>.



Solutions:

simgear/io/HTTPClient.cxx:454

  bzero(&zlib, sizeof(z_stream));

should be changed to:

  memset(&zlib, 0, sizeof(z_stream));



flightgear/src/Navaids/PositionedOctree.hxx:33

  #include <functional>

needs to be added in order to have access to std::greater.



With these changes, simgear and flightgear compile successfully.

cheers,

Rob

------------------------------------------------------------------------------
WINDOWS 8 is here.
Millions of people.  Your app in 30 days.
Visit The Windows 8 Center at Sourceforge for all your go to resources.
http://windows8center.sourceforge.net/
join-generation-app-and-make-money-coding-fast/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel