Re: [Flightgear-devel] Simgear ,mathlib.c line 1 65

2013-10-09 Thread Alan Teeder
James Seems all OK now. Thanks Alan P.S. MSVC has no compilation problems with the other commits you made today wlEmoticon-winkingsmile[1].png Description: Binary data -- October Webinars: Code for Performance Free In

Re: [Flightgear-devel] Simgear ,mathlib.c line 1 65

2013-10-09 Thread Stanisław Halik
On Wed October 9 2013 12:23:56 James Turner wrote: > On 9 Oct 2013, at 12:05, Alan Teeder wrote: > > Sorry, but the patch failed. It also needs the change suggested by Gijs, > > with “double x,y;” e.g. > Ah, I really hate C89 :) > > Fix coming up. Two same. Why not compile in cxx mode with appr

Re: [Flightgear-devel] Simgear ,mathlib.c line 1 65

2013-10-09 Thread James Turner
On 9 Oct 2013, at 12:05, Alan Teeder wrote: > Sorry, but the patch failed. It also needs the change suggested by Gijs, with > “double x,y;” > e.g. Ah, I really hate C89 :) Fix coming up. James-- October Webinars: Cod

Re: [Flightgear-devel] Simgear ,mathlib.c line 1 65

2013-10-09 Thread Vivian Meazza
Well, perhaps I could IF I had access to FG/SG on Gitorious. Regards Vivian From: James Turner [mailto:zakal...@mac.com] Sent: 09 October 2013 10:52 To: FlightGear developers discussions Subject: Re: [Flightgear-devel] Simgear ,mathlib.c line 1 65 On 9 Oct 2013, at 10:23

Re: [Flightgear-devel] Simgear ,mathlib.c line 1 65

2013-10-09 Thread Alan Teeder
if a.num = x * b.num; return VALIDATE(a); } Alan From: James Turner Sent: Wednesday, October 09, 2013 10:51 AM To: FlightGear developers discussions Subject: Re: [Flightgear-devel] Simgear ,mathlib.c line 1 65 On 9 Oct 2013, at 10:23, Vivian Meazza wrote: It’s now getting on

Re: [Flightgear-devel] Simgear ,mathlib.c line 1 65

2013-10-09 Thread James Turner
On 9 Oct 2013, at 10:23, Vivian Meazza wrote: > It’s now getting on for a week since the build on Simgear was broken for Win > 64/MSVC by this mistake. Any chance of a fix sometime soon? Yes, was just about to push one - however you can always push such a fix yourself! Regards, James --

Re: [Flightgear-devel] Simgear ,mathlib.c line 1 65

2013-10-09 Thread Vivian Meazza
devel] Simgear ,mathlib.c line 1 65 On 3 Oct 2013, at 22:20, Alan Teeder wrote: Sorry, but MSVC does not have a round function. ;( Yes, C99 is a cutting-edge spec :) I'll add a replacement for MSVC, thanks for spotting my mistake. Kind regar

Re: [Flightgear-devel] Simgear ,mathlib.c line 1 65

2013-10-08 Thread Gijs de Rooy
Also, "double x;" needs to be declared at the top of the function (and then you will have "x = round(a.num / b.num);" of course). Cheers, Gijs -- October Webinars: Code for Perfor

Re: [Flightgear-devel] Simgear ,mathlib.c line 1 65

2013-10-03 Thread Pedro Morgan
Can I make a suggestion.. What I want to do is create a "simg...@freeflightsim.org" as an user. The idea is to knock out the latest "bleeding edge docs" and "changes" to simgear.. Example is here.. http://docs.freeflightsim.org/simgear/ But I prefer a "sub domain".. On the server, Doxygen is ins

Re: [Flightgear-devel] Simgear ,mathlib.c line 1 65

2013-10-03 Thread James Turner
On 3 Oct 2013, at 22:20, Alan Teeder wrote: > Sorry, but MSVC does not have a round function. ;( Yes, C99 is a cutting-edge spec :) I'll add a replacement for MSVC, thanks for spotting my mistake. Kind regards, James --

[Flightgear-devel] Simgear ,mathlib.c line 1 65

2013-10-03 Thread Alan Teeder
Re commit ad83e70cf5983c7b307847aa2cb92c40e42bc534 Author: James Turner Date: Thu Oct 3 17:40:17 2013 +0100 Extend built-in Nasal math. James Sorry, but MSVC does not have a round function. ;( Alan -- Octob