[prev in list] [next in list] [prev in thread] [next in thread]
List: flightgear-devel
Subject: Re: [Flightgear-devel] Minor tweaks for MSVC11
From: Alex Barrett <alexanderjbarrett () gmail ! com>
Date: 2012-10-28 9:23:05
Message-ID: CANVy52R9D7c5UjKx1NUFRpbCSpkL+wUtt7b_i6sCb61O9K8_XQ () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
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
>
[Attachment #5 (text/html)]
Good work Rob, saves some people some time I'm sure. Thank you. \
<div><br></div><div>Alex <br><br><div class="gmail_quote">On 28 October 2012 06:59, \
Rob Dosogne <span dir="ltr"><<a href="mailto:admin@truthsolo.net" \
target="_blank">admin@truthsolo.net</a>></span> wrote:<br> <blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">Using MSVC11 (Visual Studio 2012), I've found the \
following issues<br> that prevent a successful compile:<br>
<br>
- 'bzero' does not exist.<br>
- 'std::greater' is now found in <functional>.<br>
<br>
<br>
<br>
Solutions:<br>
<br>
simgear/io/HTTPClient.cxx:454<br>
<br>
bzero(&zlib, sizeof(z_stream));<br>
<br>
should be changed to:<br>
<br>
memset(&zlib, 0, sizeof(z_stream));<br>
<br>
<br>
<br>
flightgear/src/Navaids/PositionedOctree.hxx:33<br>
<br>
#include <functional><br>
<br>
needs to be added in order to have access to std::greater.<br>
<br>
<br>
<br>
With these changes, simgear and flightgear compile successfully.<br>
<br>
cheers,<br>
<br>
Rob<br>
<br>
------------------------------------------------------------------------------<br>
WINDOWS 8 is here.<br>
Millions of people. Your app in 30 days.<br>
Visit The Windows 8 Center at Sourceforge for all your go to resources.<br>
<a href="http://windows8center.sourceforge.net/" \
target="_blank">http://windows8center.sourceforge.net/</a><br> \
join-generation-app-and-make-money-coding-fast/<br> \
_______________________________________________<br> Flightgear-devel mailing list<br>
<a href="mailto:Flightgear-devel@lists.sourceforge.net">Flightgear-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/flightgear-devel" \
target="_blank">https://lists.sourceforge.net/lists/listinfo/flightgear-devel</a><br> \
</blockquote></div><br></div>
------------------------------------------------------------------------------
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic